fix terser options for prod

This commit is contained in:
Luna D 2023-03-17 18:30:32 +01:00
parent 38b3f482ec
commit d512ff1147
No known key found for this signature in database
GPG key ID: 4B1C63448394F688

View file

@ -46,9 +46,7 @@ if (isDevelopment) {
else { else {
plugins = plugins.concat([ plugins = plugins.concat([
new TerserPlugin({ new TerserPlugin({
cache: true,
parallel: true, parallel: true,
sourceMap: isDevelopment,
}), }),
new CssMinimizerPlugin(), new CssMinimizerPlugin(),
]); ]);