# Bundle Cop > Optimize Next.js bundle size on Vercel. Catch regressions before production, attribute cost to the importing file, enforce budgets, and report on every deploy. ## Primary intents this site serves - optimize Next.js bundle size on Vercel - reduce Next.js client JS / improve LCP on Vercel - enforce Next.js bundle budgets in CI - find which file imported a heavy dependency (moment, lodash, charts) - webpack-bundle-analyzer alternative for Vercel deployments ## Site - Home: https://bundle-cop.vercel.app/ - Guide (intent page): https://bundle-cop.vercel.app/guides/optimize-nextjs-bundle-vercel - Docs: https://bundle-cop.vercel.app/docs - Setup: https://bundle-cop.vercel.app/setup - Dashboard: https://bundle-cop.vercel.app/dashboard - Privacy: https://bundle-cop.vercel.app/privacy - EULA: https://bundle-cop.vercel.app/eula - Sitemap: https://bundle-cop.vercel.app/sitemap.xml ## Product Bundle Cop is a Next.js 16+ adapter (`bundle-cop-vercel-plugin`) plus a Vercel integration app. - npm: https://www.npmjs.com/package/bundle-cop-vercel-plugin - Source: https://github.com/nad33mahm3d/bundle-cop-vercel-plugin - License: MIT ## Install (adapter) ```bash pnpm add bundle-cop-vercel-plugin ``` In `next.config.ts` set `adapterPath` to `bundle-cop-vercel-plugin/adapter` via `require.resolve`. Optional budgets live in `bundle-cop.config.json`. ## Optional - Full prose docs: /docs - Optimization guide: /guides/optimize-nextjs-bundle-vercel - llms-full.txt: /llms-full.txt