1
0
Fork 0
radiomanifest.js/webpack.config.js

18 lines
360 B
JavaScript
Raw Normal View History

2021-11-19 17:44:59 +01:00
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)