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

This commit is contained in:
Kasper Fabricius Kristensen
2024-10-16 10:39:07 +02:00
committed by GitHub
parent 6efb5897dc
commit 3388764af4

View File

@@ -17,7 +17,7 @@ import {
} from "./babel"
export function normalizePath(file: string) {
return path.normalize(file.replace(/\\/g, "/"))
return path.normalize(file).replace(/\\/g, "/")
}
/**