Pular para o conteúdo
Kitbay
Skill

nextjs-turbopack

MITAtualizado em 17 de nov. de 2026305.644Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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