You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-V, --version output the version number
-m, --mode Analyzer mode. Should be server or static.
In server mode analyzer will start HTTP server to show bundle report.
In static mode single HTML file with bundle report will be generated. (default: server)
-h, --host Host that will be used in server mode to start HTTP server. (default: 127.0.0.1)
-p, --port Port that will be used in server mode to start HTTP server. (default: 8888)
-r, --report Path to bundle report file that will be generated in static mode. (default: report.html)
-s, --default-sizes Module sizes to show in treemap by default.
Possible values: stat, parsed, gzip (default: parsed)
-O, --no-open Don't open report in default browser automatically.
-e, --exclude Assets that should be excluded from the report.
Can be specified multiple times.
-l, --log-level Log level.
Possible values: debug, info, warn, error, silent (default: info)
-h, --help output usage information
says it has two -h options when used as CLI tool.
I think the -h alone expect alias to --help instead of --host, right?
Thanks!
Technical info
Webpack Bundle Analyzer version: 3.03
Webpack version: 4.28.1
Node.js version: 10.13.0
npm/yarn version: 6.5.0
OS: Manjaro Linux 18.0.1
Debug info
How do you use this module? As CLI utility or as plugin?
CLI
If CLI, what command was used? (e.g. webpack-bundle-analyzer -O path/to/stats.json)
npx webpack-bundle-analyzer -h
The text was updated successfully, but these errors were encountered:
Issue description
The document
says it has two
-h
options when used as CLI tool.I think the
-h
alone expect alias to--help
instead of--host
, right?Thanks!
Technical info
Debug info
How do you use this module? As CLI utility or as plugin?
CLI
If CLI, what command was used? (e.g.
webpack-bundle-analyzer -O path/to/stats.json
)npx webpack-bundle-analyzer -h
The text was updated successfully, but these errors were encountered: