rsnext/docs/advanced-features/turbopack.md
Lee Robinson a05a0c7784
Update the documentation. (#41758)
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>
2022-10-26 14:04:45 -07:00

29 lines
899 B
Markdown

---
description: Turbopack (alpha) can be used inside Next.js 13 for 700x faster updatse.
---
# Turbopack (alpha)
[Turbopack](https://turbo.build/pack) 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
```bash
npx create-next-app --example with-turbopack
```
2. Start the Next.js development server (with Turbopack)
```bash
next dev --turbo
```
## Supported Features
To learn more about the currently supported features for Turbopack, view the [documentation](https://turbo.build/pack/docs/features).