Skip to content

Commit

Permalink
fix: normal path
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Apr 21, 2022
1 parent 1bf029e commit fc37bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/importGlob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export async function transformDynamicImportGlob(
if (!resolvedFileName) {
return null
}
const relativeFileName = path.relative(
const relativeFileName = path.posix.relative(
path.dirname(importer),
resolvedFileName
)
Expand Down

0 comments on commit fc37bdc

Please sign in to comment.