pancakeswap / pancake-toolkit

:hammer_and_pick: Pancake frontend packages
https://pancakeswap-uikit.netlify.app/
GNU General Public License v3.0
305 stars 756 forks source link

feat(uikit): Tree shakable #385

Closed chef-jojo closed 2 years ago

chef-jojo commented 2 years ago

close #351 use tsc instead of rollup for esm

before

CleanShot 2022-01-17 at 12 48 51@2x

after (only icon and lodash import)

CleanShot 2022-01-17 at 12 49 06@2x

after (icon lodash import + tsc build)

CleanShot 2022-01-21 at 14 16 06@2x