Back to results for “Set”
Next.js › Turbopack & Build Performance

What is Turbopack, and how does it improve the Next.js development experience?

Beginner

Answer

Turbopack is a fast bundler built specifically for JavaScript and TypeScript applications, designed to replace the older bundling tools used by Next.js, offering significantly faster startup times and quicker updates while you are actively developing, since it only rebuilds the specific parts of your code that actually changed.
# Start the development server using Turbopack
next dev --turbo
Real-world example A developer working on a large application notices their local development server starts up and reflects code changes noticeably faster after switching to Turbopack.

Common follow-ups: Is Turbopack used automatically or does it need to be enabled manually?;Does Turbopack work exactly the same way for production builds as for development?