Analyzes your CRA build bundle stats
Last updated a year ago by petecorreia .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install analyze-cra-bundle 
SYNC missed versions from official npm registry.


oclif Version Downloads/week License

Keep an eye on your Create React App bundle size ????

Assess impact of new code/deps on the end-user initial bundle size and monitor it directly in your Pull Request changes via TravisCI. ????

It makes sure to track only CRA JS chunks present in index.html.

ℹ️ This package is in its early stages. More features on the way. Suggestions welcome!


$ yarn add --dev analyze-cra-bundle


$ analyze-cra-bundle

  -f, --buildFolderPath=buildFolderPath  [default: build]
  -h, --help                             show help
  -v, --version                          show version
Output screenshot

⚠️ Warning: Make sure to build your app before running the command: yarn build && analyze-cra-bundle

TravisCI Integration

Keep an eye on the bundle size in your Pull Requests with a extra status check ????

Pull Request screenshot
  • Add a Github Access Token as ANALYZE_CRA_GITHUB_TOKEN to your environment variables in the TravisCI project settings.
  • Add "bundlesize": "analyze-cra-bundle" to your package.json
  • Add yarn bundlesize to your script: in .travis.yml

Current Tags

  • 0.0.4                                ...           latest (a year ago)

4 Versions

  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (9)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2016 © |