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)