A frontend platform team upgrades a large Next.js monorepo to version 16, expecting the two to five times faster builds in the release notes. The first production build fails outright, because the app still carries a custom webpack configuration written three years ago for SVG handling, a localisation plugin, and a bundle analyser.

The team adds the webpack flag to unblock the release and moves on. Four months later they are still on webpack, cold dev starts still take 70 seconds, and the engineer who wrote the custom config has left.

A second team in the same company, with a cleaner config, migrated in two days and cut local refresh from four seconds to under one. Same framework version. Very different outcome.

How much faster Turbopack makes your team depends on your webpack customisations and module graph, not on the benchmark chart.

Turbopack means the Rust-based, incremental bundler built into Next.js, which replaced webpack as the default for both development and production builds in Next.js 16, released in October 2025.

Why Great CTOs Don't Just Build, They Evaluate

Learn how disciplined evaluation separates credible AI systems from hype.

Download Whitepaper

However, most teams treat the switch as a version bump and judge it by published benchmarks, then stall when their own custom loaders, plugins, and import patterns do not translate.

If you are a VP of Engineering or Head of Frontend Platform at a company running Next.js, the intent of this article is:

  • Explain what Turbopack is and why it is faster
  • Show what decides the speed-up in a real codebase
  • Lay out a migration plan that does not stall on custom webpack config

To do that, let's start with the basics.

What Is Turbopack? The Basic Definition

At a high level, Turbopack is a bundler. It takes your JavaScript, TypeScript, CSS, and assets, follows the imports between them, and produces the files a browser or server runs. Its speed comes from two design choices.

It is written in Rust and runs work in parallel across cores. And it is incremental at a fine grain: it caches the result of each function it runs and, when a file changes, recomputes only what depends on that file.

Vercel cites up to ten times faster Fast Refresh and two to five times faster production builds compared with webpack. Turbopack became stable for development in Next.js 15 and the default for both next dev and next build in Next.js 16.

Apps with custom webpack configuration can still opt back in with a flag, but a production build with custom webpack config and no flag will fail by design.

To compare:

Webpack is a builder who re-reads the entire set of plans every time a door handle changes. Turbopack is a builder who keeps notes on which rooms depend on which drawings, so a new door handle means revisiting one room.

The notes only help if the house was drawn cleanly. If every room imports from one giant shared drawing, changing that drawing still means revisiting the whole house.

Why Does Turbopack Matter?

Issues that it addresses or resolves:

  • Slow local refresh breaking developer concentration dozens of times a day
  • Long production builds holding up CI and previews
  • Cold dev server starts that make switching branches painful

Resolved Issues by Turbopack Adopted Well

  • Sub-second refresh on most edits in large apps
  • Shorter CI build stages and faster preview deployments
  • Less time lost to bundler configuration and plugin upkeep

Core Components of a Turbopack Migration

  • Webpack customisation audit: loaders, plugins, and aliases in use
  • Replacement plan for each customisation
  • Module graph hygiene: barrel files and oversized shared modules
  • Caching: development file system cache and CI cache
  • Measurement: refresh, cold start, and build times before and after

Modern Turbopack Tooling

  • Built-in support for TypeScript, CSS modules, PostCSS, and common assets
  • A rules configuration that runs a supported subset of webpack loaders
  • Automatic Babel support when a Babel config file is present
  • File system caching for faster restarts in development
  • Build output timings that show compile and render cost per step
Built-RulesConfigurationAutomatic BabelFile SystemCachingBuild OutputTimings
Built-Rules ConfigurationAutomatic BabelFile System CachingBuild Output Timings

These tools cover most applications without custom configuration. The customisation audit is the single item that matters most, because unported webpack plugins are what keep teams on the old bundler.

Other Core Issues They Will Solve

  • Fewer bespoke build scripts only one engineer understands
  • Faster onboarding because the dev server starts quickly
  • Lower CI compute spend from shorter builds

In Summary: Turbopack is a faster, incremental bundler that is now the Next.js default, and the speed-up a team actually gets depends on how much custom webpack configuration it carries and how clean its module graph is.

Importance of Turbopack in 2026

Turbopack is no longer optional for teams that want to stay current with Next.js. Four reasons explain why it matters now.

1. It is the default.

New Next.js projects use Turbopack for dev and build without configuration, and future framework work assumes it.

2. Webpack paths will age.

The webpack flag keeps old configs running for now, but new features and fixes land on Turbopack first.

3. Developer time is expensive.

A four-second refresh repeated a hundred times a day per engineer adds up to hours a week across a team.

4. CI cost scales with build time.

Every preview deployment and pipeline run pays for bundling, so faster builds reduce spend directly, as covered in our work on DevOps CI/CD services.

Traditional vs. Modern Next.js Builds

  • Webpack with accumulated plugins vs. Turbopack with built-in defaults
  • Full rebuilds on change vs. fine-grained incremental recomputation
  • JavaScript-based tooling vs. Rust core running in parallel
  • Bundler config owned by one engineer vs. minimal config owned by the platform team

In summary: The modern build removes most custom configuration and relies on framework defaults that the whole team can understand.

Details About the Core Components of a Turbopack Migration: What Are You Designing?

Let's go through each component.

1. Audit Layer

What you have today.

Audit decisions:

  • Every webpack loader, plugin, and alias listed
  • Purpose and owner recorded for each
  • Unused entries removed before migration

2. Replacement Layer

What each customisation becomes.

Replacement decisions:

  • Built-in Turbopack support used where it exists
  • Supported loaders moved into Turbopack rules
  • Unsupported plugins replaced or dropped

3. Module Graph Layer

What the bundler has to walk.

Module graph decisions:

  • Large barrel files split or replaced with direct imports
  • Oversized shared modules broken up
  • Heavy dependencies loaded only where used

4. Caching Layer

What survives a restart.

Caching decisions:

  • Development file system cache enabled
  • CI cache keyed sensibly between runs
  • Cache invalidation tested after upgrades

5. Measurement Layer

Whether it actually helped.

Measurement decisions:

  • Refresh, cold start, and build times recorded before migration
  • Same measurements repeated after
  • Regressions tracked per release

Benefits Gained from Turbopack Adopted Well

  • Faster feedback for every engineer on every edit
  • Shorter CI pipelines and quicker previews
  • A smaller, more understandable build configuration

How It All Works Together

The platform team begins by measuring. They record cold dev start, median refresh after an edit, and production build time on the main app, so there is a baseline to compare against.

Then they open next.config and list every webpack customisation with a note on why it exists. In a typical estate about a third turn out to be unused, a third have built-in Turbopack equivalents, and a third need work.

The unused entries are deleted. The built-in cases, such as TypeScript paths, CSS modules, and PostCSS, are simply removed from config. Loaders that Turbopack supports move into its rules configuration. Webpack plugins, which Turbopack does not run, are replaced with framework features, build scripts, or dropped where they no longer earn their place.

While that happens, an engineer looks at the module graph, because Turbopack's incremental cache only helps if a change touches a small part of it. Barrel files that re-export hundreds of components are split, so editing one button no longer invalidates half the app.

File system caching is switched on for development. The team migrates dev first, then build, measures again, and compares against the baseline.

Common Misconception

Upgrading to Next.js 16 gives us Turbopack's speed automatically.

For a clean, recently created app, it largely does. For an app that has grown for several years, the upgrade often does the opposite: the production build fails because of custom webpack config, a team adds the webpack flag to ship, and the migration quietly never happens.

Even where the switch succeeds, a module graph built on a handful of giant barrel files limits how much the incremental cache can skip. The framework provides a faster engine. The amount of that speed you receive is decided by the configuration and import structure you bring to it, and those need deliberate work.

Key Takeaway: Treat Turbopack as a migration with an audit and a measurement plan, not a version bump, or you will stay on webpack by default.

Real-World Turbopack in Action

Let's take a look at how it operates with a real-world example.

We worked with a SaaS company whose Next.js monorepo had been held on webpack for five months after upgrading to version 16, with these constraints:

  • Keep weekly releases running throughout
  • Avoid a freeze on frontend feature work
  • Show measured improvement to the engineering leadership team

Step 1: Record the Baseline

Numbers first.

  • Cold dev start measured at 68 seconds
  • Median refresh at 3.8 seconds
  • Production build at 11 minutes in CI

Step 2: Audit the Webpack Config

Know what you carry.

  • 17 customisations listed with owners
  • Six found unused and deleted
  • Five covered by built-in support

Step 3: Replace the Rest

One at a time.

  • SVG loader moved into Turbopack rules
  • Localisation plugin replaced with a build script
  • Bundle analysis moved to a separate CI job

Step 4: Clean the Module Graph

Smaller invalidations.

  • Three large barrel files split
  • Icon library imported per icon
  • Heavy charting library loaded on demand

Step 5: Migrate and Measure

Dev first, then build.

  • Cold start fell to 19 seconds
  • Median refresh fell to 0.7 seconds
  • Production build fell to five minutes

Where It Works Well

  • Next.js apps with little custom webpack configuration
  • Large codebases where refresh time hurts daily
  • Teams with CI cost tied to build duration

Where It Does Not Work Well

  • Apps that depend on webpack plugins with no replacement
  • Codebases built around a few enormous barrel files
  • Projects outside Next.js that expect a standalone bundler

Key Takeaway: Turbopack pays off fastest where custom config is light and imports are tidy. Fix those first and the speed follows.

Common Pitfalls

i) Shipping on the webpack flag forever

The flag exists to unblock upgrades, but many teams treat it as the end state. Each month on it widens the gap with the framework.

  • Custom config ages with no owner
  • New Next.js features assume Turbopack
  • The eventual migration gets harder, not easier

ii) Porting every customisation

Some webpack config is years old and does nothing useful. Delete before you port, and question every plugin.

iii) Ignoring the module graph

A barrel file that re-exports the whole component library means one edit invalidates most of the app. Split them and import directly.

iv) Not measuring

Without a baseline nobody can show the migration was worth it. Record refresh, start, and build times before and after.

Takeaway from these lessons: Turbopack speed comes from removing old configuration and tidying imports, measured against a baseline.

Turbopack Best Practices: What High-Performing Teams Do Differently

1. Measure before migrating

Record cold start, refresh, and build times so the result can be shown, not asserted.

2. Audit and delete webpack config

List every customisation with its purpose and remove what is unused before porting anything.

3. Prefer built-in support

Use Turbopack's native handling for TypeScript, CSS, and assets instead of carrying loaders across.

4. Tidy the module graph

Split barrel files and load heavy dependencies on demand so incremental caching can skip more work.

5. Migrate dev, then build

Move local development first, gain confidence, then switch production builds and remove the webpack flag, with support from cloud and DevOps engineering if CI needs rework.

Logiciel's value add is running Turbopack migrations for Next.js teams that are stuck on webpack, from config audit to measured build time, as part of our full-stack development services.

Takeaway for High-Performing Teams: Measure first, delete old config, prefer built-ins, tidy imports, and migrate dev before build.

Signals You Are Doing Turbopack Well

How do you know it is working? Not by the numbers in the release notes, but by the refresh and build times your own engineers see. These are the signals that separate a migration from an upgrade.

The webpack flag is gone. Dev and build both run on Turbopack.

Refresh is under a second. Most edits show up almost instantly.

Config is short. The build configuration fits on one screen.

CI is faster. Build stages take measurably less time than before.

Nobody owns the bundler alone. Any frontend engineer can explain the build.

Adjacent Capabilities and Connected Work

This work does not exist in isolation. Bundler choice depends on, and feeds into, the rest of your delivery system. Ignoring the adjacencies is the most common scoping mistake.

CI/CD pipeline design decides how much of the build time saving reaches developers. Monorepo tooling decides what gets rebuilt on each change. Platform engineering owns the shared build defaults. Design system packaging decides how heavy shared imports are.

The common mistake is treating each adjacency as someone else's problem. The webpack config is your problem. The barrel files are your problem. The CI cache is your problem. Pretend otherwise and you will keep the webpack flag for another year.

Own the adjacencies you depend on, partner with the teams that hold them, and share the build baseline.

Conclusion

Turbopack is now the default bundler for Next.js, and it is substantially faster than webpack for most applications. The speed-up a team actually receives depends on what it brings to the migration: how much custom webpack configuration has piled up, and how cleanly the module graph lets incremental caching skip work.

Teams that measure a baseline, audit and delete old config, prefer built-in support, split barrel files, and migrate dev before build get the published gains or close to them. Teams that treat it as a version bump often end up on the webpack flag indefinitely.

Key Takeaways:

  • Turbopack is the Next.js default for dev and build from version 16
  • Custom webpack plugins are the most common reason migrations stall
  • Module graph structure decides how much incremental caching can save

Moving to Turbopack well requires a deliberate migration. When done correctly, it produces:

  • Sub-second refresh for most edits
  • Shorter CI builds and faster previews

The AI Product Playbook: Launch Faster, Scale Smarter, Fund with Confidence

Launch faster, scale smarter, and approach funding with greater confidence.

Download Whitepaper
  • A build configuration the whole team understands
  • A codebase ready for future Next.js releases

What Logiciel Does Here

If your Next.js app is still running on the webpack flag after upgrading, we help you audit and replace custom config, tidy the module graph, and measure the build time you get back.

Learn More Here:

At Logiciel Solutions, we work with engineering leaders on frontend platforms and product engineering. Our reference patterns come from large Next.js monorepos serving production SaaS traffic.

Download the related whitepaper on migrating Next.js builds to Turbopack.