Skip to content

Commit

Permalink
fix: can't setup with cli mode (#524)
Browse files Browse the repository at this point in the history
* fix: can't setup with cli mode

* docs: update changelog
  • Loading branch information
richerfu authored Aug 22, 2022
1 parent fe7e9e4 commit 50a0eca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
3 changes: 2 additions & 1 deletion src/bin/analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 50a0eca

Please sign in to comment.