1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Change tasks to be the default exports

This commit is contained in:
Chauncey McAskill
2021-09-21 16:01:47 -04:00
parent 548b2c604b
commit 99e1b3fa93
6 changed files with 24 additions and 12 deletions

View File

@@ -7,8 +7,11 @@ import mixer from 'svg-mixer';
/**
* Generates and transforms SVG spritesheets.
*
* @async
* @return {Promise}
*/
export async function compileSVGs() {
export default async function compileSVGs() {
loconfig.tasks.svgs.forEach(async ({
includes,
outfile