mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Turning this flag off would have already caused client-side invariants because we deleted all the old codepaths. This fully removes the remaining plumbing that supported the flag.
21 lines
431 B
JavaScript
21 lines
431 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
cacheComponents: true,
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/rewrite-to-page-with-dynamic-head',
|
|
destination: '/page-with-dynamic-head',
|
|
},
|
|
{
|
|
source: '/rewrite-to-page-with-runtime-prefetchable-head',
|
|
destination: '/page-with-runtime-prefetchable-head',
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|