This example shows how to analyze the output bundles using webpack-bundle-analyzer
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 andStat
is the most complete Treemap size
Deploy it now with Vercel or preview on StackBlitz:
Execute nulla create
with npm:
npx nulla create --example analyze-bundles analyze-bundles-app