Skip bundler config validation in next/jest and under test (#98392)
## 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 -->
Showing
Please
register
or
sign in
to comment