diff options
-rw-r--r-- | packages/integrations/partytown/src/index.ts | 2 |
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 }) => { |