Reduce amount of chunks

This commit is contained in:
ErickSkrauch
2020-07-21 15:53:34 +03:00
parent 19a9f952ea
commit 54c6578c15
3 changed files with 12 additions and 15 deletions

View File

@@ -211,7 +211,11 @@ const webpackConfig = {
};
if (isAnalyze) {
webpackConfig.plugins.push(new BundleAnalyzerPlugin());
webpackConfig.plugins.push(
new BundleAnalyzerPlugin({
excludeAssets: /^(vendors~intl|locale-|intl)/,
}),
);
}
if (isProduction) {