From de50cbd037f918368c95a48178ff73dc850cb0d1 Mon Sep 17 00:00:00 2001 From: Peter Somogyvari Date: Thu, 14 May 2020 12:58:32 -0700 Subject: [PATCH] fix(webpack): BundleAnalyzer no automatic open Signed-off-by: Peter Somogyvari --- webpack.dev.node.js | 1 + webpack.dev.web.js | 1 + webpack.prod.node.js | 1 + webpack.prod.web.js | 1 + 4 files changed, 4 insertions(+) diff --git a/webpack.dev.node.js b/webpack.dev.node.js index 7ee8959e73..d1e4aa64b1 100644 --- a/webpack.dev.node.js +++ b/webpack.dev.node.js @@ -41,6 +41,7 @@ module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', + openAnalyzer: false, reportFilename: `${pkg.main}.html` }) ], diff --git a/webpack.dev.web.js b/webpack.dev.web.js index 63b41f457a..39a2bace0d 100644 --- a/webpack.dev.web.js +++ b/webpack.dev.web.js @@ -39,6 +39,7 @@ module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', + openAnalyzer: false, reportFilename: `${pkg.browser}.html` }) ], diff --git a/webpack.prod.node.js b/webpack.prod.node.js index 003278df2c..5b968258b6 100644 --- a/webpack.prod.node.js +++ b/webpack.prod.node.js @@ -44,6 +44,7 @@ module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', + openAnalyzer: false, reportFilename: `${pkg.mainMinified}.html` }) ], diff --git a/webpack.prod.web.js b/webpack.prod.web.js index dec1396bd7..2715169066 100644 --- a/webpack.prod.web.js +++ b/webpack.prod.web.js @@ -46,6 +46,7 @@ module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', + openAnalyzer: false, reportFilename: `${pkg.browserMinified}.html` }) ],