Browse Source

fix .bundle-analyzerrc.json

pull/24407/head
afc163 5 years ago
parent
commit
688f8a3ab0
  1. 10
      .bundle-analyzerrc.json
  2. 2
      webpack.config.js

10
.bundle-analyzerrc.json

@ -9,16 +9,6 @@
"test": "./dist/antd.min.css",
"maxSize": "65 kB",
"compression": "gzip"
},
{
"test": "./dist/antd.dark.min.css",
"maxSize": "65 kB",
"compression": "gzip"
},
{
"test": "./dist/antd.compact.min.css",
"maxSize": "65 kB",
"compression": "gzip"
}
]
}

2
webpack.config.js

@ -91,8 +91,6 @@ function processWebpackThemeConfig(themeConfig, theme, vars) {
const themeReg = new RegExp(`${theme}(.min)?\\.js(\\.map)?$`);
// ignore emit ${theme} entry js & js.map file
config.plugins.push(new IgnoreEmitPlugin(themeReg));
addBundleAnalyzerPluginCom(config);
});
}

Loading…
Cancel
Save