Use debug option for debugDir (#6554)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
This commit is contained in:
parent
fc71c3f188
commit
9e16860f61
1 changed files with 1 additions and 1 deletions
|
@ -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 }) => {
|
||||
|
|
Loading…
Reference in a new issue