Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cra-bundle-analyzer

svengau16.9kMIT0.1.1

Use Webpack Bundle Analyzer on a create-react-app application without ejecting

react, create-react-app, minification, webpack, bundle, analyzer, modules, size

readme

npm node downloads

This package allows to use webpack-bundle-analyzer with create-react-app, without having to eject the react application.

It's an alternative to the official source-map-explorer.

Installation

# NPM
npm install --save-dev cra-bundle-analyzer
# Yarn
yarn add -D cra-bundle-analyzer

Usage

npx cra-bundle-analyzer

This command will generate the webpack-bundle-analyzer report in build/report.html

Options

  -r, --reportFilename <file>         Path to bundle report file that will be generated in `static` mode. (default: report.html)

References