mirror of https://github.com/vuejs/core.git
chore: typo (#8108) [ci skip]
This commit is contained in:
parent
94fa67a4f7
commit
a58785945d
|
@ -101,7 +101,7 @@ export function createGetCanonicalFileName(useCaseSensitiveFileNames: boolean) {
|
|||
|
||||
const windowsSlashRE = /\\/g
|
||||
export function normalizePath(p: string) {
|
||||
// in the browser build, the polyfill doesn't expose posix, but defualts to
|
||||
// in the browser build, the polyfill doesn't expose posix, but defaults to
|
||||
// posix behavior.
|
||||
return (path.posix || path).normalize(p.replace(windowsSlashRE, '/'))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue