veto_bundle_advisor
Analyzes bundle stats JSON to identify heaviest modules, duplicate packages, code-split opportunities, and CDN externalization candidates.
Instructions
Accepts a webpack/Rollup/Vite stats JSON file → top 10 heaviest modules, duplicate packages, code-split candidates, and CDN externalization suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats_file | Yes | Absolute path to the bundle stats JSON file (webpack stats format). | |
| project_dir | No | Optional absolute path to the project root. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |