Turbopack — Rust JS bundler from Vercel (2022+), successor to Webpack. Incremental compilation with function-level cache → 3-5x faster dev server cold start than Webpack, HMR <100ms instead of 2s. Stable in Next.js 15 (2024). Competitors: Vite (esbuild + Rollup), Bun bundler. Not general-purpose — Next.js-specific.
Below: details, example, related terms, FAQ.
# Use Turbopack in Next.js dev
$ next dev --turbo
# Or in package.json
"scripts": {
"dev": "next dev --turbo"
}
# Production build (Webpack for now)
$ next buildTurbopack: Rust, tightly coupled to Next.js. Vite: esbuild (Go) + Rollup, universal (React, Vue, Svelte). For non-Next projects — Vite.
Dev mode — stable in Next.js 15. Production build — alpha (2026). Wait for v16 for full production.
In Next.js — just the --turbo flag. For custom Webpack config — not all loaders are supported; verify compatibility.