mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
```
● deterministic build - changing deployment id › build output API - cacheComponents adapter › should produce identical build outputs even when changing deployment id
File content mismatch for .next/prerender-manifest.json in .vercel/output/functions/[variants].func/.vc-config.json
- Expected
+ Received
@@ -80,5 +80,5 @@
"/abc": {
"initialHeaders": {
- "link": "</_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2>; rel=preload; as=\"font\"; crossorigin=\"\"; type=\"font/woff2\", </_next/static/chunks/55fd2813a6ce3e20.css?dpl=foo-dpl-id>; rel=preload; as=\"style\"",
+ "link": "</_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2>; rel=preload; as=\"font\"; crossorigin=\"\"; type=\"font/woff2\", </_next/static/chunks/55fd2813a6ce3e20.css?dpl=bar-dpl-id>; rel=preload; as=\"style\"",
"x-nextjs-stale-time": "300",
"x-nextjs-prerender": "1",
```
32 lines
596 B
JavaScript
32 lines
596 B
JavaScript
import { Suspense } from 'react'
|
|
|
|
import { Geist } from 'next/font/google'
|
|
import './styles.css'
|
|
|
|
import { Client } from './client'
|
|
|
|
const geistSans = Geist({
|
|
variable: '--font-geist-sans',
|
|
subsets: ['latin'],
|
|
})
|
|
|
|
export default async function DynamicRootLayout(props) {
|
|
await props.params
|
|
return (
|
|
<html>
|
|
<head>
|
|
<Suspense>
|
|
<meta />
|
|
</Suspense>
|
|
</head>
|
|
<body className={geistSans.variable}>
|
|
<Client>{props.children}</Client>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|
|
|
|
export function generateStaticParams() {
|
|
return [{ variants: 'abc' }]
|
|
}
|