Skip to content
Snippets Groups Projects
Commit d5c79975 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko
Browse files

perf: remove stats.json generation in webpack (#10290)

* perf: remove stats.json generation in webpack

* fix code comment
parent 1c113fd7
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,8 @@ module.exports = merge(sharedConfig, {
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
new BundleAnalyzerPlugin({ // generates report.html and stats.json
new BundleAnalyzerPlugin({ // generates report.html
analyzerMode: 'static',
generateStatsFile: true,
statsOptions: {
// allows usage with http://chrisbateman.github.io/webpack-visualizer/
chunkModules: true,
},
openAnalyzer: false,
logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment