|
|
@ -86,11 +86,12 @@ module.exports = composePlugins(withNx(), withReact(), (config) => { |
|
|
|
config.optimization.minimizer = [ |
|
|
|
config.optimization.minimizer = [ |
|
|
|
new TerserPlugin({ |
|
|
|
new TerserPlugin({ |
|
|
|
parallel: true, |
|
|
|
parallel: true, |
|
|
|
//minify: TerserPlugin.swcMinify,
|
|
|
|
|
|
|
|
terserOptions: { |
|
|
|
terserOptions: { |
|
|
|
ecma: 2015, |
|
|
|
ecma: 2015, |
|
|
|
compress: true, |
|
|
|
compress: true, |
|
|
|
mangle: false, |
|
|
|
mangle: { |
|
|
|
|
|
|
|
keep_fnames: true, |
|
|
|
|
|
|
|
}, |
|
|
|
format: { |
|
|
|
format: { |
|
|
|
comments: false, |
|
|
|
comments: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|