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