diff --git a/webpack.main.ts b/webpack.main.ts index 84c6912bca..c060778073 100755 --- a/webpack.main.ts +++ b/webpack.main.ts @@ -34,6 +34,9 @@ export default function (): webpack.Configuration { externalsPresets: { node: true }, // in order to ignore all modules in node_modules folder externals: nodeExternals(), + optimization: { + minimize: isProduction, + }, module: { rules: [ {