summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2022-08-24 21:58:28 +0800
committerGravatar GitHub <noreply@github.com> 2022-08-24 09:58:28 -0400
commit1daaaf3d71949cb0b47fe29ffc1a8d6478ff610a (patch)
treef42513d37068a2b403dfd4e260fa3babaa80a07d
parent85646918acbfe6a96be234ad3e93f60bc74a0b6e (diff)
downloadastro-1daaaf3d71949cb0b47fe29ffc1a8d6478ff610a.tar.gz
astro-1daaaf3d71949cb0b47fe29ffc1a8d6478ff610a.tar.zst
astro-1daaaf3d71949cb0b47fe29ffc1a8d6478ff610a.zip
Remove debugger statements (#4449)
-rw-r--r--packages/astro/src/core/build/vite-plugin-css.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/astro/src/core/build/vite-plugin-css.ts b/packages/astro/src/core/build/vite-plugin-css.ts
index cd729575d..aa76f6060 100644
--- a/packages/astro/src/core/build/vite-plugin-css.ts
+++ b/packages/astro/src/core/build/vite-plugin-css.ts
@@ -110,10 +110,6 @@ export function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[]
// Chunks that have the viteMetadata.importedCss are CSS chunks
if (meta.importedCss.size) {
- //console.log(meta.importedCss, c.fileName);
-
- debugger;
-
// For the client build, client:only styles need to be mapped
// over to their page. For this chunk, determine if it's a child of a
// client:only component and if so, add its CSS to the page it belongs to.
@@ -129,7 +125,6 @@ export function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[]
// For this CSS chunk, walk parents until you find a page. Add the CSS to that page.
for (const [id] of Object.entries(c.modules)) {
- debugger;
for (const [pageInfo, depth] of getTopLevelPages(id, this)) {
const pageViteID = pageInfo.id;
const pageData = getPageDataByViteID(internals, pageViteID);