mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Core: hotfix paths not being normalized on Windows
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-core': patch
|
||||
---
|
||||
|
||||
hotfix paths not being normalized on Windows
|
||||
@@ -51,7 +51,13 @@ export function loadFiles(
|
||||
for (const file of files) {
|
||||
const parsedPath = normalizePath(file.path);
|
||||
|
||||
storage.write(parsedPath, buildFile(file));
|
||||
storage.write(
|
||||
parsedPath,
|
||||
buildFile({
|
||||
...file,
|
||||
path: parsedPath,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
for (const transformer of transformers) {
|
||||
|
||||
Reference in New Issue
Block a user