a05a0c7784
Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: Matt Kane <m@mk.gg> Co-authored-by: Ismael <ismael.rumzan@gmail.com> Co-authored-by: Balázs Orbán <info@balazsorban.com>
899 B
899 B
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:
- Create a Next.js 13 project with Turbopack
npx create-next-app --example with-turbopack
- 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.