Skip to content

Commit 2d4557f

Browse files
committed
fixup! fix: upload prerendered shells
1 parent 0e5fa47 commit 2d4557f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/plugin-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export class PluginContext {
397397
if (!this.#shells) {
398398
this.#shells = Object.entries(prerenderManifest.dynamicRoutes).reduce(
399399
(shells, [route, meta]) => {
400-
if (meta.renderingMode === 'PARTIALLY_STATIC') {
400+
if (typeof meta.fallback === 'string' && meta.renderingMode === 'PARTIALLY_STATIC') {
401401
shells.push(route)
402402
}
403403
return shells

0 commit comments

Comments
 (0)