Skip to content

Commit

Permalink
更新 transformIEAR.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Peach <[email protected]>
  • Loading branch information
xiang-yuanji and PeachScript authored Aug 2, 2024
1 parent 3175a89 commit 5a09c30
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)
`(\([a-zA-Z]:|\/).*[^\\\\])\\2`,
`((?:[a-zA-Z]:|\\/).*[^\\\\])\\2`,
')',
].join(''),
// match full-content
Expand Down

0 comments on commit 5a09c30

Please sign in to comment.