diff --git a/packages/astro/src/vite-plugin-astro-server/vite.ts b/packages/astro/src/vite-plugin-astro-server/vite.ts index 613a314beb0e..33b3ab4ed9f7 100644 --- a/packages/astro/src/vite-plugin-astro-server/vite.ts +++ b/packages/astro/src/vite-plugin-astro-server/vite.ts @@ -48,7 +48,7 @@ export async function* crawlGraph( // dependencies as `importedModules`, we should also skip them as they aren't really // imported. Without this, every hoisted script in the project is added to every page! if (isCSSRequest(id)) { - continue + continue; } for (const importedModule of entry.importedModules) {