added minification

This commit is contained in:
Daniel Ledda
2021-03-30 22:53:48 +02:00
parent aefa9b3bf4
commit b939a17f5f

View File

@@ -49,7 +49,10 @@ const webpackConfig = {
if (!config.development) {
webpackConfig.optimization = {
minimizer: [new TerserPlugin()],
minimizer: [new TerserPlugin({
minify: true,
parallel: true,
})],
splitChunks: {
cacheGroups: {