Skip to content

Commit 1b25751

Browse files
authored
Add partialFallback field (#39)
1 parent 47d099d commit 1b25751

File tree

4 files changed

+137
-49
lines changed

4 files changed

+137
-49
lines changed

.changeset/clever-geckos-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@next-community/adapter-vercel": patch
3+
---
4+
5+
Update `@vercel/build-utils` to `13.6.2` and include `partialFallback` in prerender config output.

packages/adapter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
"@types/node": "14.18.33",
2121
"@types/picomatch": "2.3.3",
2222
"@types/webpack-sources": "3.2.0",
23-
"@vercel/build-utils": "12.2.2",
23+
"@vercel/build-utils": "13.6.2",
2424
"@vercel/routing-utils": "5.2.1",
2525
"async-sema": "3.1.1",
2626
"bytes": "3.1.2",
2727
"convert-source-map": "1.8.0",
2828
"esbuild": "0.25.10",
2929
"fs-extra": "11.2.0",
30-
"next": "16.2.0-canary.29",
30+
"next": "16.2.0-canary.79",
3131
"picomatch": "4.0.1",
3232
"source-map": "0.7.4",
3333
"webpack-sources": "3.2.3"

packages/adapter/src/outputs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ async function writeDeterministicRoutesManifest(distDir: string) {
254254
);
255255

256256
manifest.headers = [];
257-
// @ts-expect-error only recently added
258257
manifest.onMatchHeaders = [];
259258
delete manifest.deploymentId;
260259

@@ -600,6 +599,7 @@ export async function handlePrerenderOutputs(
600599
passQuery: true,
601600
allowQuery: output.config.allowQuery,
602601
allowHeader: output.config.allowHeader,
602+
partialFallback: output.config.partialFallback || undefined,
603603

604604
bypassToken: output.config.bypassToken,
605605
experimentalBypassFor: output.config.bypassFor,

0 commit comments

Comments
 (0)