What problem does it solve?
This Skill helps you resolve Next.js 16 bundling and build issues when switching between Webpack-style expectations and Turbopack’s Rust-based module graph behavior, so development stays fast and production builds stay stable.
Core Features & Use Cases
- Turbopack configuration guidance: Migrate common Webpack customizations to Next.js 16’s top-level turbopack config (resolve aliases and extension resolution).
- CSS/CSS Modules correctness: Explain how global CSS, CSS Modules, PostCSS, and Sass are handled in Turbopack, plus the typical migration pitfalls (like CSS ordering differences).
- Diagnostics for build failures and performance: Provide targeted troubleshooting for unsupported config, missing loader equivalents, environment-boundary errors (server-only vs client), and ways to profile HMR/build bottlenecks.
- Webpack parity strategy: Recommend when to fall back to webpack (e.g., unsupported loader/plugin needs) and how to validate output differences across bundlers.
Quick Start
Ask for Turbopack-specific guidance to migrate your Next.js 16 bundler configuration and debug a failing build caused by outdated webpack-style settings.