Skip to content

Commit

Permalink
Use debug option for debugDir (withastro#6554)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Phillips <[email protected]>
  • Loading branch information
torchsmith and matthewp authored Mar 29, 2023
1 parent fc71c3f commit 9e16860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/partytown/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 9e16860

Please sign in to comment.