Load Webpack Stats
load_webpack_statsParses the webpack module stats file (.next/stats.json) and links it to a loaded build, enabling tools to detect duplicates, explain shared chunks, trace imports, and suggest optimizations.
Instructions
Parse the webpack module stats file (.next/stats.json) and link it to a build loaded with load_build_stats. Unlocks the stats-powered tools: suggest_optimizations (enriched), find_duplicates, explain_shared_chunks, and trace_import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | Yes | Build ID returned by load_build_stats; the stats.json is read from that build directory |