Files
next.js/test/e2e/app-dir/segment-cache/cached-navigations/next.config.ts
Andrew ClarkandGitHub b301d3cfab Enable prefetchInlining by default (#92863)
Flips the `experimental.prefetchInlining` default from `false` to
`true`. This is the first step toward removing the flag entirely.

Tests that explicitly set `prefetchInlining: true` have been cleaned up
since they now match the default. Any CI failures from this PR will be
addressed in follow-up PRs by temporarily opting out individual tests
with `prefetchInlining: false` until they are migrated.

<!-- NEXT_JS_LLM_PR -->
2026-04-16 14:20:34 -04:00

18 lines
406 B
TypeScript

import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
cacheComponents: true,
productionBrowserSourceMaps: true,
experimental: {
cachedNavigations: true,
prefetchInlining: false,
exposeTestingApiInProductionBuild: true,
instantNavigationDevToolsToggle: true,
optimisticRouting: true,
useOffline: true,
varyParams: true,
},
}
export default nextConfig