mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
fix emit filepaths, tag emit being overriden by content
This commit is contained in:
@ -12,6 +12,6 @@ export const Static: QuartzEmitterPlugin = () => ({
|
||||
const staticPath = joinSegments(QUARTZ, "static")
|
||||
const fps = await glob("**", staticPath, cfg.configuration.ignorePatterns)
|
||||
await fs.promises.cp(staticPath, joinSegments(argv.output, "static"), { recursive: true })
|
||||
return fps.map((fp) => joinSegments("static", fp)) as FilePath[]
|
||||
return fps.map((fp) => joinSegments(argv.output, "static", fp)) as FilePath[]
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user