1
0
Fork 0
radiomanifest.js/webpack.config.js
2021-11-19 17:44:59 +01:00

17 lines
360 B
JavaScript

const path = require('path');
module.exports = []
for(let target of ['web', 'node']) {
var conf = {
name: target,
entry: './radiomanifest.js',
target: [target],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'radiomanifest-' + target + '.bundle.js',
clean: false,
},
}
module.exports.push(conf)
}
console.log(module.exports)