From 7555fc3789fc0efd1ee89708d82ab62312be82ed Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 11 Jan 2022 21:53:47 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/core/build/static-build.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index 1caeebdb1..c5230b86a 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -37,13 +37,11 @@ function addPageName(pathname: string, opts: StaticBuildOptions): void { // Determines of a Rollup chunk is an entrypoint page. function chunkIsPage(output: OutputAsset | OutputChunk, internals: BuildInternals) { - if(output.type !== 'chunk') { + if (output.type !== 'chunk') { return false; } const chunk = output as OutputChunk; - return chunk.facadeModuleId && - (internals.entrySpecifierToBundleMap.has(chunk.facadeModuleId) || - internals.entrySpecifierToBundleMap.has('/' + chunk.facadeModuleId)); + return chunk.facadeModuleId && (internals.entrySpecifierToBundleMap.has(chunk.facadeModuleId) || internals.entrySpecifierToBundleMap.has('/' + chunk.facadeModuleId)); } export async function staticBuild(opts: StaticBuildOptions) {