fixed element names

This commit is contained in:
Fran Jurmanović
2021-06-13 21:29:52 +02:00
parent fabfb43c02
commit fe1d84ad5c
3 changed files with 14 additions and 4 deletions

View File

@@ -54,9 +54,15 @@ module.exports = (env, args) => {
maxSize: 400000
},
}
},
minimize: true,
minimizer: [new TerserPlugin(), new UglifyJsPlugin()],
},
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
keep_classnames: true,
keep_fnames: true,
}
})
]
},
output: {
path: path.join(__dirname, 'public'),