rsnext/docs/advanced-features/turbopack.md
Maia Teegarden fdd6e979f4
Turbopack alpha -> beta (#49103)
Closes WEB-918
Closes WEB-913
2023-05-04 16:53:40 +02:00

839 B

description
Turbopack, an incremental bundler built with Rust, can be used with Next.js 13 using the --turbo flag for faster local development.

Turbopack (beta)

Turbopack is an incremental bundler optimized for JavaScript and TypeScript, written in Rust, and built into Next.js 13.

On large applications, Turbopack updates 700x faster than Webpack.

Usage

Turbopack can be used in Next.js 13 in both the pages and app directories:

  1. Create a Next.js 13 project with Turbopack
npx create-next-app@latest --example with-turbopack
  1. Start the Next.js development server (with Turbopack)
next dev --turbo

Supported Features

To learn more about the currently supported features for Turbopack, view the documentation.