agentops/app/dashboard/bundle_analytics
xiaoxue af7cdc0ffd 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
..
README.md 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00

README.md

Bundle Analytics

This directory contains bundle analysis reports generated by running npm run analyze.

How to Run Bundle Analysis

  1. Run the analyze command:
npm run analyze
  1. The analysis will be saved in a folder structure:
bundle_analytics/
  ├── branch-name/
  │   └── timestamp/
  │       ├── client.html
  │       ├── server.html
  │       └── edge.html
  └── README.md
  1. Open the generated HTML files in your browser to view the bundle analysis.

Understanding the Analysis

  • client.html: Shows client-side bundle sizes and composition
  • server.html: Shows server-side bundle sizes and composition
  • edge.html: Shows edge runtime bundle sizes and composition

Use these reports to identify large dependencies and optimize your bundle sizes.