diff --git a/webpack/production.js b/webpack/production.js index 68bf6efcb..c9fac31b4 100644 --- a/webpack/production.js +++ b/webpack/production.js @@ -24,6 +24,7 @@ module.exports = (options) => { if (!options.overrides.includes('terserPlugin')) { optimization.minimizer.push(new TerserPlugin({ parallel: true, + minify: TerserPlugin.swcMinify, terserOptions: { compress: { drop_console: true,