fix(admin-vite-plugin): Replace slashes for Windows (#9602)

This commit is contained in:
Kasper Fabricius Kristensen authored and GitHub committed 2024-10-16 08:39:07 +00:00
1 parent 6efb5897dc
commit 3388764af4
1 file changed
+1 -1
@@ -17,7 +17,7 @@ import {
} from "./babel"
export function normalizePath(file: string) {
return path.normalize(file.replace(/\\/g, "/"))
return path.normalize(file).replace(/\\/g, "/")
}
/**