diff --git a/packages/astro/src/core/build/internal.ts b/packages/astro/src/core/build/internal.ts index 4209fda46..ffb7fb7b9 100644 --- a/packages/astro/src/core/build/internal.ts +++ b/packages/astro/src/core/build/internal.ts @@ -140,7 +140,7 @@ export function* getPageDatasByClientOnlyID( let pageBuildDatas = pagesByClientOnly.get(viteid); // 2. Try prepending /@fs - if(!pageBuildDatas) { + if (!pageBuildDatas) { let pathname = `/@fs${prependForwardSlash(viteid)}`; pageBuildDatas = pagesByClientOnly.get(pathname); }