From ecc
Guides usage of Turbopack vs webpack in Next.js 16+, covers incremental bundling, FS caching, dev speed optimization, and middleware filename changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ecc:nextjs-turbopackThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Next.js 16+ uses Turbopack by default for local development: an incremental bundler written in Rust that significantly speeds up dev startup and hot updates.
Next.js 16+ uses Turbopack by default for local development: an incremental bundler written in Rust that significantly speeds up dev startup and hot updates.
--webpack (or --no-turbopack depending on your Next.js version; check the docs for your release).next build) may use Turbopack or webpack depending on Next.js version; check the official Next.js docs for your version.Use when: developing or debugging Next.js 16+ apps, diagnosing slow dev startup or HMR, or optimizing production bundles.
next dev runs with Turbopack unless disabled..next; no extra config needed for basic use.next dev
next build
next start
Run next dev for local development with Turbopack. Use the Bundle Analyzer (see Next.js docs) to optimize code-splitting and trim large dependencies. Prefer App Router and server components where possible.
Next.js 16 introduced proxy.ts as the middleware filename, replacing the older middleware.ts convention:
proxy.ts at the project rootmiddleware.ts at the project rootThe filename change is tied to the Next.js version, not to which bundler (Turbopack or webpack) is in use. Always check the official docs for the version you are reviewing.
Do not flag proxy.ts as a misnamed or missing middleware file in Next.js 16 projects. The file is correct and intentional. Suggesting a rename to middleware.ts will break middleware execution.
Reference: Next.js proxy docs
npx claudepluginhub affaan-m/ecc --plugin eccGuides usage of Turbopack (default in Next.js 16+) vs webpack for development, explains file-system caching, and covers middleware file naming changes.
Provides Turbopack expertise for Next.js bundling, including top-level config in Next.js 16, HMR optimization, build debugging, CSS handling, and Webpack comparisons.
Upgrades Next.js projects to v16 with Turbopack, async Dynamic APIs, Biome, and React 19.2. Runs detection and upgrade path scripts, then applies codemods and config changes.