Load Build Stats
load_build_statsParse a Next.js .next build directory to extract route and chunk footprint data, enabling bundle analysis and code-split recommendations.
Instructions
Parse a Next.js .next directory and load route and chunk footprint data for later analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildDir | Yes | Absolute or relative path to the project .next build directory, not .next/standalone | |
| buildOutputPath | No | Optional path to captured next build terminal output for deriving build duration |