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

@@ -12,8 +12,11 @@ const sassRender = promisify(sass.render);
/**
* Compiles and minifies main Sass files to CSS.
*
* @async
* @return {Promise}
*/
export async function compileStyles() {
export default async function compileStyles() {
loconfig.tasks.styles.forEach(async ({
infile,
outfile