RelativeCI

Automated bundle analysis, reviews and monitoring

  • Product
  • Why bundle size matters
  • Documentation
  • Release Notes
  • Pricing
Log inSign up
  • Product
  • Why bundle size matters
  • Documentation
  • Release Notes
  • Pricing
Log inSign up
  • Setup
    1. Install GitHub App
    2. Setup project
    3. Send data
      • GitHub action
      • Webpack 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 configuration for better bundle monitoring
      • Vite configuration for better bundle monitoring
    • Bundle optimization and debugging
      • Identify and fix bundle npm duplicate dependencies
      • Compare and analyze webpack bundle changes locally
  • Metrics and data
  • Examples
  • Home
  • Documentation
  • Guides
  • Output bundle stats

Output webpack stats in Create React App

Quickly identify and fix bundle regressions before shipping to 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!

Quickly identify and fix bundle regressions before shipping to production.

  • Bundle analyzer

    In-depth bundle analysis for every build

  • Bundle monitoring

    Identify trends and detect regressions

  • Bundle comparison

    Debug with ease using side-by-side comparisons

Get started for freeGet in touch

Automated bundle analysis, reviews and monitoring

Privacy PolicyTerms of ServiceSecurity

© Copyright 2025 RelativeCI

Product

  • Bundle analyzer
  • Bundle monitoring
  • Bundle comparison
  • Why bundle size matters
  • Pricing

Documentation

  • Setup
  • Guides
  • Metrics and data
  • Examples

Resources

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

Support

  • FAQ
  • Contact
  • Status