Skip to content

Commit a5230e6

Browse files
authored
fix(tdesign): ignore config-provider/style (#280)
1 parent 85013dd commit a5230e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/resolvers/tdesign.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ function getSideEffects(importName: string, options: TDesignResolverOptions): Si
2727

2828
if (!importStyle) return
2929

30+
if (fileName === "config-provider") return
31+
3032
if (importStyle === 'less') return `tdesign-${library}/esm/${fileName}/style`
3133

3234
return `tdesign-${library}/es/${fileName}/style`

0 commit comments

Comments
 (0)