summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Isaac <isaac@w3dev.ca> 2023-03-29 09:18:25 -0300
committerGravatar GitHub <noreply@github.com> 2023-03-29 08:18:25 -0400
commit9e16860f61ce4ce8ae8c993a2ed59a155503ce55 (patch)
tree78a63c2eb5428d3aead433a2f497c888e53eff5c
parentfc71c3f18819ac3ad62809a7eeff5fe7840f2c4b (diff)
downloadastro-9e16860f61ce4ce8ae8c993a2ed59a155503ce55.tar.gz
astro-9e16860f61ce4ce8ae8c993a2ed59a155503ce55.tar.zst
astro-9e16860f61ce4ce8ae8c993a2ed59a155503ce55.zip
Use debug option for debugDir (#6554)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
-rw-r--r--packages/integrations/partytown/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/partytown/src/index.ts b/packages/integrations/partytown/src/index.ts
index 097305c37..95841a06c 100644
--- a/packages/integrations/partytown/src/index.ts
+++ b/packages/integrations/partytown/src/index.ts
@@ -53,7 +53,7 @@ export default function createPlugin(options: PartytownOptions): AstroIntegratio
},
'astro:build:done': async ({ dir }) => {
await copyLibFiles(fileURLToPath(new URL('~partytown', dir)), {
- debugDir: false,
+ debugDir: options?.config?.debug ?? false,
});
},
'astro:build:ssr': async ({ manifest }) => {