本文へスキップ
Kitbay
スキル

nextjs-turbopack

MIT2026年11月17日 更新305,644GitHubスター

A short reference skill from the ECC collection for working on Next.js 16 and later with Turbopack.

スキルの内容

A short reference skill from the ECC collection for working on Next.js 16 and later with Turbopack. It explains that Turbopack, an incremental bundler written in Rust, is the default for the development server from version 16 and caches to disk under .next, when to fall back to webpack for bugs or webpack-only plugins, and that production bundling depends on the release. It lists the dev, build and start commands, points to the experimental bundle analyzer from 16.1, and warns that in version 16 the middleware file is proxy.ts at the project root, so a reviewer should not ask for it to be renamed to middleware.ts. It tells the agent to check the docs for the version in use.

できること

  • Explain Turbopack and webpack choices in Next.js 16
  • Point to the bundle analyzer for large dependencies
  • Avoid flagging proxy.ts as a misnamed middleware file