summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/build/internal.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/build/internal.ts b/packages/astro/src/core/build/internal.ts
index 0c7c346ae..7d8485fe5 100644
--- a/packages/astro/src/core/build/internal.ts
+++ b/packages/astro/src/core/build/internal.ts
@@ -141,8 +141,8 @@ export function* getPageDatasByClientOnlyID(
// BUG! The compiler partially resolves .jsx to remove the file extension so we have to check again.
// We should probably get rid of all `@fs` usage and always fully resolve via Vite,
// but this would be a bigger change.
- if(!pageBuildDatas) {
- pathname = `/@fs${prependForwardSlash(removeFileExtension(viteid))}`
+ if (!pageBuildDatas) {
+ pathname = `/@fs${prependForwardSlash(removeFileExtension(viteid))}`;
pageBuildDatas = pagesByClientOnly.get(pathname);
}
if (pageBuildDatas) {