Avoid mutating config for default export paths (#99496)
## Summary Static export currently installs an identity `exportPathMap` callback on the resolved config when no callback is configured. Use the default path map directly while preserving configured callbacks. This removes another config mutation as part of immutable configuration support for adapters. ## Verification - `pnpm test-start-webpack test/production/fallback-export-error/index.test.ts` (4 passed, covering default, valid custom, and invalid custom path maps) <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment