next.js
5fb2dc15 - Add determinism test for static shell with asset preload headers (#89826)

Commit
2 days ago
Add determinism test for static shell with asset preload headers (#89826) ``` ● 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", ```
Author
Parents
Loading