mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Turns on `experimental.varyParams` by default. First of a short stack flipping the remaining Sparkle flags to their new defaults — landing one flag at a time so any regressions are bisectable. A test in `segment-cache/prefetch-runtime` asserts on the pre-flip root-param cache-keying; pinned to `varyParams: false` until the test catches up. <!-- NEXT_JS_LLM_PR -->
15 lines
436 B
TypeScript
15 lines
436 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
cacheComponents: true,
|
|
productionBrowserSourceMaps: true,
|
|
experimental: {
|
|
// TODO: This test asserts on the pre-`varyParams` cache-keying behavior
|
|
// for root params. Pin the fixture to the old default until the test is
|
|
// updated to reflect the new shape (or until the flag is removed).
|
|
varyParams: false,
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|