What problem does it solve?
Oversized JavaScript bundles slow down page loads, hurt conversion rates, and degrade user experience, but manually identifying bloat, missing code splits, and budget regressions is time-consuming and error-prone. This Skill automates bundle analysis to catch these issues before they reach production.
Core Features & Use Cases
- Performance Budget Enforcement: Configures per-route and global bundle size budgets that block PRs when exceeded, preventing regressions from shipping.
- Bloat Detection: Identifies full-library imports, missing lazy loading, CommonJS contamination that breaks tree-shaking, and unused dependencies that inflate bundle size.
- Multi-Bundler Support: Works with Next.js, Vite, Webpack, Rollup, esbuild, Bun, and Blazor WebAssembly, using native analysis tools for each ecosystem.
- Use Case: For a SaaS app with a 200KB gzipped initial JS budget, this Skill catches a 240KB landing route bundle caused by an un-split admin panel and a full lodash import, providing exact fixes and estimated 190KB in savings.
Quick Start
Use the bundle-analyzer skill to audit your application's JavaScript bundles, identify performance bottlenecks and budget regressions, and receive prioritized, actionable fixes to meet your performance targets.