Skip to content

Commit d997e55

Browse files
authoredJan 12, 2023
fix(tdesign): add pagination-mini resolver (#575)
1 parent 0c404f5 commit d997e55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/resolvers/tdesign.ts

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ function getSideEffects(importName: string, options: TDesignResolverOptions): Si
8787
if (['enhanced-table', 'base-table'].includes(fileName))
8888
fileName = 'table'
8989

90+
if (['pagination-mini'].includes(fileName))
91+
fileName = 'pagination'
92+
9093
if (importStyle === 'less')
9194
return `tdesign-${library}/esm/${fileName}/style`
9295

0 commit comments

Comments
 (0)
Please sign in to comment.