diff --git a/packages/astro/src/core/ssr/css.ts b/packages/astro/src/core/ssr/css.ts index 15898cdaba..83478495a8 100644 --- a/packages/astro/src/core/ssr/css.ts +++ b/packages/astro/src/core/ssr/css.ts @@ -20,7 +20,7 @@ export function getStylesForURL(filePath: URL, viteServer: vite.ViteDevServer): if (!moduleName) return; if (!moduleName.id) return; // mark the entrypoint as scanned to avoid an infinite loop - scanned.add(moduleName.id) + scanned.add(moduleName.id); for (const importedModule of moduleName.importedModules) { if (!importedModule.id || scanned.has(importedModule.id)) continue; const ext = path.extname(importedModule.id.toLowerCase()); diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index 38f8b6914b..640c6aa6c8 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -170,7 +170,7 @@ Did you mean to enable ${formatList(probableRendererNames.map((r) => '`' + r + ' } // Attempt: user only has a single renderer, default to that if (!renderer && renderers.length === 1) { - renderer = renderers[0] + renderer = renderers[0]; } // Attempt: can we guess the renderer from the export extension? if (!renderer) {