Get Largest Routes
get_largest_routesRank user-facing routes in a loaded Next.js build by emitted chunk bytes, revealing which pages ship the largest bundles. Use the limit parameter to focus optimization and code-splitting efforts.
Instructions
Rank the heaviest user-facing routes in a loaded Next.js build by emitted chunk bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many routes to include. Defaults to 10. | |
| buildId | No | Build ID returned from load_build_stats. Omit to list loaded builds. |