rgossiaux / svelte-headlessui

Unofficial Svelte port of the Headless UI component library
https://svelte-headlessui.goss.io
MIT License
1.78k stars 96 forks source link

Tree shaking #166

Closed mastercoding closed 1 year ago

mastercoding commented 1 year ago

It seems like tree shaking is not working properly. Just importing the Switch component, results in an increase of 135 kB in bundle size (and a lot of unused code for all the other unused components). Does anybody else have this problem?

mastercoding commented 1 year ago

Seems like an error on my part, not sure what it was..