From ffd570f8b03a8d370d95c5f574948f236d92cb59 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 15 Mar 2019 23:26:22 -0700 Subject: [PATCH] perf: remove stats.json from webpack (#1098) I was not ever really looking at this, and it seems to add compilation time --- webpack/client.config.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/webpack/client.config.js b/webpack/client.config.js index be88b2df..609a57ba 100644 --- a/webpack/client.config.js +++ b/webpack/client.config.js @@ -94,15 +94,10 @@ module.exports = { }) ] : [ - 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 + logLevel: 'silent' }) ]), devtool: dev ? 'inline-source-map' : 'source-map',