mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-19 22:29:16 +00:00
fix emit filepaths, tag emit being overriden by content
This commit is contained in:
parent
79e828696a
commit
736c3981c4
7 changed files with 11 additions and 9 deletions
quartz/plugins/emitters
|
@ -24,7 +24,7 @@ export const Assets: QuartzEmitterPlugin = () => {
|
|||
const dir = path.dirname(dest) as FilePath
|
||||
await fs.promises.mkdir(dir, { recursive: true }) // ensure dir exists
|
||||
await fs.promises.copyFile(src, dest)
|
||||
res.push(fp)
|
||||
res.push(dest)
|
||||
}
|
||||
|
||||
return res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue