You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vestride_Shuffle/gulp/tasks/scripts.js

12 lines
302 B
JavaScript

const { rollup } = require('rollup');
const { configs } = require('../config');
module.exports = function scripts() {
const bundles = configs.map(config => rollup(config).then((bundle) => {
config.cache = bundle;
return bundle.write(config.output);
}));
return Promise.all(bundles);
};