11 lines
203 B
JavaScript
11 lines
203 B
JavaScript
let files = ['index.js', 'treasure.js', 'dice.js', 'sw.js'];
|
|
|
|
export default files.map( function (file) {
|
|
return {
|
|
input: `src/${file}`,
|
|
output: {
|
|
file: file,
|
|
format: 'iife'
|
|
}
|
|
}
|
|
});
|