mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
fc977d6df7
## Summary Skip active-bundler config validation when `next/jest` loads `next.config.*` under `PHASE_TEST`. Jest uses the Next.js SWC transformer without running Turbopack or webpack, so bundler-specific options should remain available without requiring phase-dependent user config. Add regression coverage for `experimental.turbopackRustReactCompiler` and `experimental.cssChunking: 'graph'` in the test phase. ## Verification - `pnpm test-unit test/unit/isolated/config.test.ts -t "Should allow bundler-specific options during the test phase"` <!-- NEXT_JS_LLM -->