# Turbopack

> Turbopack Rust-powered bundler. Use for fast builds.

- Skill: `g1joshi/turbopack` (Agent Skill)
- Install (CLI): `npx skillmds@latest add g1joshi/turbopack`
- Raw SKILL.md: https://api.skillmd.com/api/skills/g1joshi/turbopack/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: G1Joshi (https://skillmd.com/u/g1joshi)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/g1joshi/turbopack

---


# Turbopack

Turbopack is the build engine built by Vercel. In 2025, it is **Stable** in Next.js and powers the fastest dev server in the ecosystem.

## When to Use

- **Next.js**: It's the default dev engine (`next dev --turbo`).
- **Scale**: Designed for monorepos with thousands of pages.

## Core Concepts

### Incremental Computation

Turbopack never does the same work twice. It caches function results at a granular level (the "Function Level Caching").

### Lazy Bundling

It only bundles the dynamic imports and pages you actually visit.

### Request Level Compilation

Compiles code only when a request hits the server.

## Best Practices (2025)

**Do**:

- **Use `--turbo`**: Enable it in Next.js for instant HMR.
- **Trust the Cache**: Turbopack handles invalidation correctly.

**Don't**:

- **Don't configure it manually**: In 2025, it's mostly configured via framework adapters (Next.js).

## References

- [Turbopack Documentation](https://turbo.build/pack)

