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 { basename } from 'node:path';
/**
* Bundles and minifies main JavaScript files.
*
* @async
* @return {Promise}
*/
export async function compileScripts() {
export default async function compileScripts() {
loconfig.tasks.scripts.forEach(async ({
includes,
outdir = '',