Skip to content

Commit a5230e6

Browse files
authored
fix(tdesign): ignore config-provider/style (unplugin#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy