@bundle-analyzer/cli

Bundle Analyzer CLI.

Usage no npm install needed!

<script type="module">
  import bundleAnalyzerCli from 'https://cdn.skypack.dev/@bundle-analyzer/cli';
</script>

README

@bundle-analyzer/cli

Official CLI compatible with Bundle Analyzer service.

Install

npm install --save-dev @bundle-analyzer/cli

Usage

Usage: bundle-analyzer [options] <stats>

Options:
  -V, --version               output the version number
  --token <repository-token>  specify the repository token
  --config-file <file>        specify a custom config file
  -h, --help                  output usage information

  Examples:
    webpack --json | bundle-analyzer --token "your-repository-token"
    cat webpack-stats.json | bundle-analyzer --token "your-repository-token"

Complete documentation

👉 See full documentation

License

MIT