turbopack

Configure Turbopack settings and migrate Webpack loaders in Next.js 16 builds.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill turbopack-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turbopack
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/vercel/skills/turbopack
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill turbopack-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the complexity of migrating from Webpack to Turbopack, helping developers optimize build times, debug HMR issues, and configure the Rust-powered bundler in Next.js 16.

Core Features & Use Cases

  • Bundler Configuration: Provides expert guidance on top-level turbopack settings and custom rule definitions.
  • Migration Support: Offers clear mapping between legacy Webpack loaders and native Turbopack equivalents.
  • Performance Diagnostics: Includes workflows for profiling HMR timing and production build bottlenecks.
  • Use Case: Use this skill when your Next.js 16 build fails due to missing loader support or when you need to optimize your development server startup speed.

Quick Start

Ask the turbopack skill to analyze your next.config.ts file and suggest the correct migration path for your existing webpack loaders.

Frequently Asked Questions about turbopack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Webpack loaders to Turbopack in Next.js 16?

To migrate Webpack loaders to Turbopack, analyze your next.config.ts file to map legacy configurations to native Turbopack equivalents. This resolves missing loader support errors and configures the Rust-based bundler rules for your project.

What is the best way to optimize Next.js 16 development server startup speed?

Optimizing Next.js 16 development server startup speed involves configuring the Rust-based Turbopack engine in next.config.ts. This enables high-speed incremental compilation and native React Server Component support for faster builds.

Why does Turbopack HMR fail or run slowly in my Next.js project?

Turbopack HMR failures or slow performance in Next.js often stem from incorrect bundler configurations. Profiling HMR timing and diagnosing production build bottlenecks through the Turbopack engine helps identify and resolve these delays.

Can I use custom bundler rules with Turbopack for Next.js 16?

Yes, you can use custom bundler rules with Turbopack in Next.js 16. The engine supports top-level turbopack settings and custom rule definitions to handle specific build requirements and replace legacy Webpack loaders.

Does Turbopack support React Server Components natively in Next.js 16?

Yes, Turbopack supports React Server Components natively in Next.js 16. The Rust-based bundler engine is configured to satisfy requirements for high-speed incremental compilation and native React Server Component integration.

How do I profile build bottlenecks and HMR timing using Turbopack?

Profiling build bottlenecks and HMR timing with Turbopack involves using built-in diagnostics workflows to analyze the Rust-powered engine. This process identifies performance issues in your Next.js 16 development server and production builds.