Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install it (globally):    npm install -g webpack-bundle-analyzer
  • Run a build and generate stats.json:   yarn build:stats
  • Start it up!    webpack-bundle-analyzer .\dist\browser\stats.json


BundlePhobia.com

Useful to find the normal size of dependencies & links you to alternative libraries which may be smaller: https://bundlephobia.com/

It also details which libraries are "tree shakable" and which are not.