Skip to content

Commit fb7538f

Browse files
authored
fix(acro): component name matcher (#319)
1 parent 7087aca commit fb7538f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/resolvers/arco.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export function ArcoResolver(
166166
path: '@arco-design/web-vue/es/icon',
167167
}
168168
}
169-
if (name.match(/^A/)) {
169+
if (name.match(/^A[A-Z]/)) {
170170
const importStyle = options.importStyle ?? 'css'
171171

172172
const importName = name.slice(1)

0 commit comments

Comments
 (0)