mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
make path and globbing more platform invariant
This commit is contained in:
@ -100,7 +100,7 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options> | undefined> =
|
||||
if (!isAbsoluteUrl(node.properties.src)) {
|
||||
const ext = path.extname(node.properties.src)
|
||||
node.properties.src =
|
||||
transformLink(path.join("assets", node.properties.src)) + ext
|
||||
transformLink(joinSegments("assets", node.properties.src)) + ext
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user