RelativeCI

Catch bundle regressions before merge, not in production

  • Product
  • Why bundle size matters
  • Documentation
  • Release Notes
  • Pricing
Log inSign up
  • Product
  • Why bundle size matters
  • Documentation
  • Release Notes
  • Pricing
Log inSign up
  • Getting Started
    1. Install GitHub App
    2. Setup project
    3. Send data
      • GitHub action
      • Webpack plugin
      • Rollup plugin
      • CLI
    4. Configure project
      • GitHub Check report
      • GitHub Commit Status review
      • GitHub PR comment
      • Slack notification
      • Metrics Forwarding - InfluxDB
  • Guides
    • Output bundle stats
      • webpack-cli
      • rspack
      • webpack-stats-plugin
      • Vite
      • Next.js
      • Gatsby
      • Create React App
    • Bundler configuration
      • Webpack config
      • Vite config
    • Bundle optimization and debugging
      • npm duplicate dependencies
      • Compare and analyze locally
  • Metrics and data
  • Examples
  • Home
  • Documentation
  • Guides
  • Output bundle stats

Output webpack stats in Create React App

Catch bundle regressions
before merge, not in production

Get started for free

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!

Catch bundle regressions
before merge, not in production

  • Bundle analysis diff

    for every build

    Understand the impact of code changes on your bundle with in-depth bundle analysis.

  • Rule-based checks

    for every pull request

    Automate bundle regression detection with absolute/relative rule-based checks.

  • Trends monitoring

    for every branch

    Discover web performance optimization opportunities with bundle metrics monitoring.

Get started for freeGet in touch

Catch bundle regressions before merge, not in production

Privacy PolicyTerms of ServiceSecurityCLA

© Copyright 2026 RelativeCI

Product

  • Bundle analysis diff
  • Rule-based checks
  • Trends monitoring
  • Why bundle size matters
  • Pricing

Documentation

  • Setup
  • Guides
  • Metrics and data
  • Examples

Resources

  • Customers
  • Open source
  • Release Notes
  • Public Roadmap
  • FrontEnd-Ops Resources

Support

  • FAQ
  • Contact
  • Status