generated from Seekra/repository-template
feat(build): implement artifact processor
This commit is contained in:
+4
-1
@@ -27,7 +27,10 @@ const files = await readdir(dir);
|
||||
|
||||
const tryToProcessPlugin = async function tryToProcessPlugin (plugin) {
|
||||
if (typeof plugin.default === 'function') {
|
||||
await processPlugin(plugin.default);
|
||||
await processPlugin(plugin.default, {
|
||||
srcBase: './src',
|
||||
distBase: './dist'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user