fix emit filepaths, tag emit being overriden by content

This commit is contained in:
Jacky Zhao committed 2023-08-11 23:25:44 -07:00
1 parent 79e828696a
commit 736c3981c4
7 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -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[]
},
})