We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7eaabf commit af6e4bcCopy full SHA for af6e4bc
bench.config.js
@@ -3,7 +3,7 @@ export default {
3
"10000_development-mode",
4
"10000_development-mode_hmr",
5
"10000_production-mode",
6
- "10000_big_production-mode",
+ "10000_big_production-mode_disable-minimize",
7
"arco-pro_development-mode",
8
"arco-pro_development-mode_hmr",
9
"arco-pro_production-mode",
lib/addons/disable-minimize.js
@@ -0,0 +1,12 @@
1
+import { Addon } from "./common.js";
2
+
+export default class extends Addon {
+ async afterSetup(ctx) {
+ ctx.config =
+ ctx.config +
+ `
+module.exports.optimization = module.exports.optimization || {}
+module.exports.optimization.minimize = false
10
+`;
11
+ }
12
+}
0 commit comments