diff --git a/packages/vite/src/node/utils.ts b/packages/vite/src/node/utils.ts index 14a016f94311ec..0d9411f901ff53 100644 --- a/packages/vite/src/node/utils.ts +++ b/packages/vite/src/node/utils.ts @@ -574,7 +574,7 @@ function windowsMappedRealpathSync(path: string) { } return realPath } -const parseNetUseRE = /^(\w+) +(\w:) +([^ ]+)\s/ +const parseNetUseRE = /^(\w+)? +(\w:) +([^ ]+)\s/ let firstSafeRealPathSyncRun = false function windowsSafeRealPathSync(path: string): string {