|
|
||
|---|---|---|
| .. | ||
| README.md | ||
README.md
Bundle Analytics
This directory contains bundle analysis reports generated by running npm run analyze.
How to Run Bundle Analysis
- Run the analyze command:
npm run analyze
- The analysis will be saved in a folder structure:
bundle_analytics/
├── branch-name/
│ └── timestamp/
│ ├── client.html
│ ├── server.html
│ └── edge.html
└── README.md
- Open the generated HTML files in your browser to view the bundle analysis.
Understanding the Analysis
client.html: Shows client-side bundle sizes and compositionserver.html: Shows server-side bundle sizes and compositionedge.html: Shows edge runtime bundle sizes and composition
Use these reports to identify large dependencies and optimize your bundle sizes.