Files
Andrew ClarkandGitHub 01c81260ff Enable experimental.varyParams by default (#94010)
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 -->
2026-05-21 17:00:19 -04:00

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