Explain Shared Chunks
explain_shared_chunksPinpoint npm packages and app code dominating shared chunks, with unminified sizes and byte shares, to reveal what bloats common bundles.
Instructions
Show which npm packages and app code dominate the shared chunks loaded by many routes, to identify what bloats common bundles. Each package reports its unminified webpack module size, its share of the chunk's module bytes, and that share applied to the chunk's emitted size. Requires load_build_stats and load_webpack_stats first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum shared chunks to analyse. Defaults to 5. | |
| buildId | Yes | Build ID returned by load_build_stats |