Nextjs Fundamentals · Next.js 16 Upgrade

Turbopack by default

the default bundler

Turbopack by default

Next.js 16 makes Turbopack the default bundler for both next dev and next build. You no longer pass --turbopack; the flag is unnecessary:

{
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start"
  }
}

The payoff is speed — roughly 2–5× faster production builds and up to 10× faster Fast Refresh. Turbopack also reads its config from a top-level turbopack key in next.config.ts, no longer nested under experimental.

If your project has a custom webpack config, next build now fails rather than silently ignoring it, so you do not ship a misconfigured build. The escape hatch is the --webpack flag, which opts back into webpack:

{
  "scripts": {
    "dev": "next dev",
    "build": "next build --webpack"
  }
}

One more removal: the next lint command is gone. next build no longer runs linting, and linting now happens through ESLint (or Biome) directly, with a codemod to migrate existing scripts.

Together these changes mean a fresh Next.js 16 project is faster by default and its build tooling is explicit — Turbopack unless you ask for webpack.

You are about to answer a short quiz on the default bundler.

  1. Turbopack is the default bundler for `next dev` and `next build` in Next.js 16.
  2. To keep using webpack in Next.js 16, pass the ___ flag to `next build`.
  3. The `next lint` command still ships in Next.js 16.
  4. With Turbopack as the default, `next build` ___ when a custom webpack config is present.
  5. In Next.js 16 you must still pass `--turbopack` to enable Turbopack.