eBay / ebayui-core-react

eBayUI React components
https://opensource.ebay.com/ebayui-core-react/main/
MIT License
38 stars 32 forks source link

core: Use Vite for bundling components #366

Closed HenriqueLimas closed 1 month ago

HenriqueLimas commented 2 months ago

This builds only CJS files since having both ESM and CJS might increase and import both files until all the libraries that uses ui-core-react also migrated to ESM. This is not a breaking change since it is still CJS only.

In some applications internally this reduced vendor file by 3kb (gzip)

Available to test with v7.1.0-alpha.3

HenriqueLimas commented 1 month ago

@shpandian TSC doesn't do tree-shaking, it just compile everything, but vite does it