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

16 lines
329 B
JavaScript
Raw Normal View History

const path = require('path')
2021-11-19 17:44:59 +01:00
module.exports = ['web', 'node'].map(
target => ({
name: target,
mode: 'production',
entry: './radiomanifest.js',
target: [target],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'radiomanifest-' + target + '.bundle.js',
clean: false
}
})
)