diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index f101f6a3d..3fa065373 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -95,7 +95,7 @@ export async function staticBuild(opts: StaticBuildOptions) { const pages = internals.hoistedScriptIdToPagesMap.get(moduleId); pages!.add(astroModuleId); } else { - internals.hoistedScriptIdToPagesMap.set(moduleId, new Set([astroModuleId])) + internals.hoistedScriptIdToPagesMap.set(moduleId, new Set([astroModuleId])); internals.hoistedScriptIdToHoistedMap.set(moduleId, hoistedScripts); } }