6d20bfa493
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
18 lines
371 B
JavaScript
18 lines
371 B
JavaScript
const merge = require('webpack-merge')
|
|
const common = require('./webpack.common.js')
|
|
const TerserPlugin = require('terser-webpack-plugin')
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'production',
|
|
devtool: '#source-map',
|
|
optimization: {
|
|
minimizer: [new TerserPlugin({
|
|
terserOptions: {
|
|
output: {
|
|
comments: false,
|
|
}
|
|
},
|
|
sourceMap: true,
|
|
})],
|
|
}
|
|
});
|