]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: typo (#8108) [ci skip]
authoragoni1212 <22545824+agoni1212@users.noreply.github.com>
Thu, 20 Apr 2023 02:07:31 +0000 (10:07 +0800)
committerGitHub <noreply@github.com>
Thu, 20 Apr 2023 02:07:31 +0000 (10:07 +0800)
packages/compiler-sfc/src/script/utils.ts

index 04df22a2b6456471ea40667880136aa67418fbcd..e8a0518b5706a9ae62ee3659c9653fc4c518378e 100644 (file)
@@ -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, '/'))
 }