Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 906 Bytes

turbopack.md

File metadata and controls

29 lines (18 loc) · 906 Bytes
description
Turbopack (alpha) can be used inside Next.js 13 for 700x faster updatse.

Turbopack (alpha)

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

On large applications Turbopack updates 10x faster than Vite and 700x faster than Webpack. For the biggest applications, the difference is even larger with updates up to 20x faster than Vite.

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.