nodefony
Version:
Nodefony Framework Core
26 lines (21 loc) • 389 B
JavaScript
const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
mode: 'production',
output: {
filename: '[name].min.js',
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
warnings: true,
compress: true
},
extractComments: true,
parallel: true
})
]
},
plugins: [
]
};