use posix style paths for all path ops
This commit is contained in:
1 parent
de72dd4e4a
commit
663c41fa41
7 files changed
+6
-13
No files matched your search
@@ -18,7 +18,7 @@ export const AliasRedirects: QuartzEmitterPlugin = () => ({
|
||||
|
||||
for (const [_tree, file] of content) {
|
||||
const ogSlug = canonicalizeServer(file.data.slug!)
|
||||
const dir = path.relative(argv.directory, file.dirname ?? argv.directory)
|
||||
const dir = path.posix.relative(argv.directory, file.dirname ?? argv.directory)
|
||||
|
||||
let aliases: CanonicalSlug[] = []
|
||||
if (file.data.frontmatter?.aliases) {
|
||||
|
||||
Reference in new issue
Block a user