mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This: - Fetches `data/_app/analyze.data` alongside the current route's data - Merges `_app` modules into the current route's `AnalyzeData` before visualization using a `mergeAnalyzeData()`, which merges the two datasets, reindexing the additional ones and recreating the binary data format expected by the treemap. ## Test plan - [x] Add a large dependency (e.g. `moment`) in `pages/_app.tsx` - [x] Run `next experimental-analyze` - [x] Open the bundle analyzer and select a pages page - [x] Verify moment appears in the treemap - [x] Verify App Router projects (no `_app`) work without errors