eBay / ebayui-core-react

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

core: Use Vite for bundling components #366

Closed HenriqueLimas closed 2 weeks ago

HenriqueLimas commented 3 weeks 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 2 weeks ago

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