Babel REPL vs Turbopack
Babel REPL
babeljs.ioTurbopack
nextjs.orgSide by side
| Figure | Babel REPL | Turbopack |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 1 |
| Spec score · JavaScript Build Tools | 7.7 (#12) | 7.4 (#18) |
| Purpose | Babel describes its REPL as a playground for learning how Babel transpiles source code. | Turbopack is an incremental JavaScript and TypeScript bundler written in Rust and built into Next.js. |
Plans
In their own words
Turbopack
Turbopack is an incremental JavaScript and TypeScript bundler written in Rust and built into Next.js. It supports the Pages Router and App Router for local development and is the default bundler in Next.js for basic use without configuration. It parallelizes work across CPU cores, caches results at the function level and persists them between runs. Lazy bundling processes only what the development server requests, which can reduce initial compile time and memory use. Its support includes JavaScript, TypeScript, ECMAScript, CommonJS, ESM and Babel configuration detection in Next.js 16, along with JSX, Fast Refresh and React Server Components for the App Router. CSS support includes global CSS, CSS Modules, nesting, PostCSS and Sass/SCSS, but not custom Sass functions. It also handles static image and font imports, JSON, aliases and custom extensions. Native bindings are available for Linux, macOS and Windows. Turbopack is included in Next.js with no separate price stated. It does not perform TypeScript type checking, and it does not support webpack plugins.