mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
6fbba169cd
Extends the view toggle (introduced in the previous PR for compare mode) to single-build mode as well. The table view lists all sources for the selected route with sizes and env badges. Internally it reuses `DiffTable` in `mode="single"` by diffing the build against itself, which produces an all-`identical` summary — this keeps a single source-listing implementation regardless of mode. <!-- NEXT_JS_LLM_PR --> Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by: Will Binns-Smith <755844+wbinnssmith@users.noreply.github.com>
Bundle Analyzer
A Next.js application for visualizing bundle sizes and analyzing dependencies using interactive treemaps.
This package is not published to npm. Instead it's built and vendored into the main next package during its build process.
Features
- 📊 Interactive Treemap: Visualize bundle sizes with an interactive treemap interface
- 🎯 Route-based Analysis: Analyze bundle data for specific routes in your application
- 🔍 Dependency Tracking: View import chains and dependency relationships
- 🎨 Filter Controls: Filter by environment (client/server) and file types (JS/CSS/JSON/Assets)
- 🔎 Search Functionality: Search through files in your bundle
Updating
When landing non-trivial changes, consider updating the demo site: