RelativeCI

Specialized insights for web bundles

  • Features
  • Pricing
  • Documentation
  • Open source
Log inTry for free
  • Setup
    1. Install GitHub application
    2. Setup project
    3. Setup agent
      • GitHub action
      • Webpack plugin
      • CLI
    4. Configure project
      • GitHub Checks
      • GitHub PR comments
      • Slack notifications
  • Guides
    • Output webpack stats
      • Next.js
      • Gatsby
      • Create React App
    • Webpack config
    • Analyze and compare locally
  • Data and metrics
  • Examples
DocumentationGuidesOutput webpack stats

Create React App: Output webpack stats

To output the webpack stats JSON file on Create React App, pass --stats argument to the build command. The command will ouput build/bundle-stats.json file if successfull.

npx react-scripts build --stats

#8790: Add back in --stats output from webpack



Need help?Contact us via email, Twitter, or GitHub!

Product

  • Features
  • Pricing

Resources

  • Documentation
  • FrontEnd-Ops Resources
  • Release Notes
  • Public Roadmap

Open source

  • BundleStats
  • Web Compare
  • Video Compare

Support

  • Help
  • FAQ
  • Contact
  • Status

Links

  • GitHub
  • Twitter

© Copyright 2022 RelativeCIPrivacy PolicyTerms of Service