fix(admin-vite-plugin): Replace slashes for Windows (#9602)
This commit is contained in:
1 parent
6efb5897dc
commit
3388764af4
1 file changed
+1
-1
@@ -17,7 +17,7 @@ import {
|
|||||||
} from "./babel"
|
} from "./babel"
|
||||||
|
|
||||||
export function normalizePath(file: string) {
|
export function normalizePath(file: string) {
|
||||||
return path.normalize(file.replace(/\\/g, "/"))
|
return path.normalize(file).replace(/\\/g, "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user