Skip to content

Latest commit

 

History

History

analyze-bundles

Analyzer Bundles example

This example shows how to analyze the output bundles using webpack-bundle-analyzer

Analyze webpack output

To analyze your webpack output, invoke the following command:

npm run analyze

It will build the app, generate JSON stats files for both server and client bundles and then open them in the browser at localhost ports 8880 and 8881 respectively.

Don't forget to select Show content of concatenated modules option on the sidebar and Stat is the most complete Treemap size

Deploy your own

Deploy it now with Vercel or preview on StackBlitz:

Deploy with Vercel Open in StackBlitz

How to use

Execute nulla create with npm:

npx nulla create --example analyze-bundles analyze-bundles-app

Then deploy it with Vercel, Heroku or Netlify.