Turbopack is Vercel's Rust-based successor to webpack, aimed at speed - but webpack is the mature, universal default your tooling assumes.
webpack is the long-standing, highly configurable JavaScript bundler with the largest plugin ecosystem. Turbopack is a Rust-based bundler from Vercel, positioned as webpack's faster successor and integrated primarily with Next.js.
Turbopack
webpack
Implementation
Rust
JavaScript
Speed
Fast (incremental)
Slower on big builds
Maturity
Newer, evolving
Very mature
Ecosystem / plugins
Smaller, growing
Largest
Framework fit
Next.js-centric
Framework-agnostic
In CI
Turbopack targets fast incremental builds and is most relevant inside Next.js, where it is becoming the default. webpack remains the universal, battle-tested bundler with the broadest plugin and loader support across frameworks. If you are on Next.js, evaluate Turbopack for your version; on anything else, webpack (or Vite) is the safer choice today. Check Turbopack's current production-build status before relying on it in CI.
Speed it up
Cache dependencies and the build keyed on your lockfile to avoid cold rebuilds either way. Both run on CI runners; faster managed runners shorten heavy bundling steps.
Benchmark on your repository before choosing
Build-tool benchmarks published by vendors use repositories chosen to show a difference. Yours is the only one that matters, and both a cold and a warm measurement are needed because CI mostly runs cold.
Terminal
# cold: no cache, the CI condition
rm -rf node_modules/.cache dist && time <tool> build
# warm: the local development condition
time <tool> build
# and the one people forget: incremental after a one-line change
echo "// touch" >> src/index.ts && time <tool> build
The verdict
Building a Next.js app and want speed as it stabilizes: Turbopack. Need maximum maturity, ecosystem, or non-Next frameworks: webpack. Confirm Turbopack's production-build readiness for your exact version first.
Frequently asked questions
Turbopack vs webpack: Which Bundler for CI?
webpack is the long-standing, highly configurable JavaScript bundler with the largest plugin ecosystem. Turbopack is a Rust-based bundler from Vercel, positioned as webpack's faster successor and integrated primarily with Next.js.
In CI?
Turbopack targets fast incremental builds and is most relevant inside Next.js, where it is becoming the default. webpack remains the universal, battle-tested bundler with the broadest plugin and loader support across frameworks.
Speed it up?
Cache dependencies and the build keyed on your lockfile to avoid cold rebuilds either way. Both run on CI runners; faster managed runners shorten heavy bundling steps.
Which should I choose?
Building a Next.js app and want speed as it stabilizes: Turbopack. Need maximum maturity, ecosystem, or non-Next frameworks: webpack. Confirm Turbopack's production-build readiness for your exact version first.