Skip to main content

Command Palette

Search for a command to run...

Turbopack: Vercel's new Rust-based successor to Webpack

Updated
1 min read
Turbopack: Vercel's new Rust-based successor to Webpack
I

Front-end developer

Turbopack, Vercel's new successor webpack, is an incremental bundler that is 10x faster than Vite and 700x faster than webpack. if an application is large enough, it can be 20x faster than vite.

Turbopack uses SWC to bundle JavaScript and TypeScript files. So, anything that SWC supports, Turbopack will support. An interesting feature is that Turbopack can be compiled to WebAssembly and run in the browser.

Turbopack is in alpha and can't be configured yet. It currently only supports Next.js.

Usage

To create a Next.js 13 project with Turborepo, run:

npx create-next-app --example with-turbopack

Start Next.js development server with Turbopack:

next dev --turbo

Considerations

Turbopack is in infancy and currently only supports Next.js. Other frameworks will be added in the future.

More from this blog

Untitled Publication

19 posts