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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user