Skip to content

Commit 015335f

Browse files
committed
Disable minimize
1 parent 5296f1d commit 015335f

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

scripts/build/bundler.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,14 @@ function getWebpackConfig(bundle) {
269269
},
270270
};
271271

272-
if (bundle.terserOptions) {
273-
const TerserPlugin = require("terser-webpack-plugin");
274-
275-
config.optimization = {
276-
minimizer: [new TerserPlugin(bundle.terserOptions)],
277-
};
278-
}
272+
// if (bundle.terserOptions) {
273+
// const TerserPlugin = require("terser-webpack-plugin");
274+
275+
// config.optimization = {
276+
// minimizer: [new TerserPlugin(bundle.terserOptions)],
277+
// };
278+
// }
279+
config.optimization = { minimize: false };
279280

280281
return config;
281282
}

0 commit comments

Comments
 (0)