DEV Community

Discussion on: What's in the bundle? Create React App edition

Collapse
 
stereobooster profile image
stereobooster
yarn eject
yarn add webpack-cli
NODE_ENV=production ./node_modules/webpack-cli/bin/cli.js --config config/webpack.config.prod.js --profile --json > bundle.json