diff options
author | 2022-09-02 01:29:14 +0000 | |
---|---|---|
committer | 2022-09-02 01:29:14 +0000 | |
commit | c220f53b218c57c0d70464026eb972b84c580950 (patch) | |
tree | dfec480700ce7f078d31d305372682e0e76c97d0 | |
parent | 8476f2a293df0ebde6a323a530667cc2ec89ca09 (diff) | |
download | astro-c220f53b218c57c0d70464026eb972b84c580950.tar.gz astro-c220f53b218c57c0d70464026eb972b84c580950.tar.zst astro-c220f53b218c57c0d70464026eb972b84c580950.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/build/internal.ts | 4 |
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) { |