mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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 -->
18 lines
406 B
TypeScript
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
|