Skip to content

Commit

Permalink
fix(tdesign): add pagination-mini resolver (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Jan 12, 2023
1 parent 0c404f5 commit d997e55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/resolvers/tdesign.ts
Expand Up @@ -87,6 +87,9 @@ function getSideEffects(importName: string, options: TDesignResolverOptions): Si
if (['enhanced-table', 'base-table'].includes(fileName))
fileName = 'table'

if (['pagination-mini'].includes(fileName))
fileName = 'pagination'

if (importStyle === 'less')
return `tdesign-${library}/esm/${fileName}/style`

Expand Down

0 comments on commit d997e55

Please sign in to comment.