Keep compile-mode metadata outside configuration (#99491)
## Summary Pass the build manifest's compile-mode marker separately to server rendering, leaving the loaded configuration unchanged. This supports immutable Next.js configuration for adapters without introducing another mutable config representation. Preserve the manifest override, including a false or absent marker, and the existing config fallback when the manifest cannot be read. ## Verification - `pnpm test-start-webpack test/e2e/app-dir/app/experimental-compile.test.ts -t 'should provide query for getStaticProps page correctly|should run generate command correctly'` (2 passed) <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment