From 152c64f2accbf11b0690beac8f05b01e65732b5f Mon Sep 17 00:00:00 2001 From: southorange1228 <15280970040@163.com> Date: Sun, 21 Aug 2022 00:50:33 +0800 Subject: [PATCH 1/2] fix: can't setup with cli mode --- src/bin/analyzer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/analyzer.js b/src/bin/analyzer.js index 3a119732..42da2d53 100755 --- a/src/bin/analyzer.js +++ b/src/bin/analyzer.js @@ -128,7 +128,8 @@ if (mode === 'server') { reportTitle, bundleDir, excludeAssets, - logger: new Logger(logLevel) + logger: new Logger(logLevel), + analyzerUrl: utils.defaultAnalyzerUrl }); } else if (mode === 'static') { viewer.generateReport(bundleStats, { From 3964dcde14a7f1e4d397e3acbdafa5aedcfde750 Mon Sep 17 00:00:00 2001 From: southorange1228 <15280970040@163.com> Date: Mon, 22 Aug 2022 14:36:44 +0800 Subject: [PATCH 2/2] docs: update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92dfbb80..5f2734aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._ ## UNRELEASED +* **Bug Fix** + * fix outputting different URL in cli mode ([#524](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/524) by [@southorange1228](https://github.com/southorange1228)) + ## 4.6.0 * **New Feature**