webpack-bundle-analyzer

  • Alias: wba

  • Environments: root

Default command

webpack-bundle-analyzer stats.json

CLI Options

https://github.com/webpack-contrib/webpack-bundle-analyzer#options-for-cli

Examples

Default CLI

mhy webpack-bundle-analyzer
# or
mhy wba

Analyze production bundle instead

mhy webpack-bundle-analyzer --mhy-env=prod
# or
NODE_ENV=production mhy webpack-bundle-analyzer

With watcher

mhy webpack -w
# or
mhy wp --watch