Skip to content

Commit

Permalink
fix: windows 无法使用vite启动的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuanji committed Aug 1, 2024
1 parent c81271f commit 3175a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-umi/src/utils/transformIEAR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const IEAR_REG_EXP = new RegExp(
// match quotes ($2)
`('|")`,
// match absolute file path ($3)
`(\\/.*[^\\\\])\\2`,
`(\([a-zA-Z]:|\/).*[^\\\\])\\2`,
')',
].join(''),
// match full-content
Expand Down

0 comments on commit 3175a89

Please sign in to comment.