Skip to content

Commit

Permalink
fix(acro): component name matcher (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcxfd committed Feb 24, 2022
1 parent 7087aca commit fb7538f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/resolvers/arco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function ArcoResolver(
path: '@arco-design/web-vue/es/icon',
}
}
if (name.match(/^A/)) {
if (name.match(/^A[A-Z]/)) {
const importStyle = options.importStyle ?? 'css'

const importName = name.slice(1)
Expand Down

0 comments on commit fb7538f

Please sign in to comment.