mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-22 06:11:23 +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