We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badc929 commit d1b3409Copy full SHA for d1b3409
packages/astro/src/core/build/plugins/plugin-ssr.ts
@@ -93,7 +93,9 @@ function vitePluginSSR(
93
const pageData2 = internals.pagesByKeys.get(pageData.key);
94
// Always add to pageMap even if pageData2 is missing from internals
95
// This ensures error pages like 500.astro are included in the build
96
- pageMap.push(`[${JSON.stringify(pageData2?.component || pageData.component)}, ${variable}]`);
+ pageMap.push(
97
+ `[${JSON.stringify(pageData2?.component || pageData.component)}, ${variable}]`,
98
+ );
99
i++;
100
}
101
0 commit comments