rgossiaux / svelte-headlessui

Unofficial Svelte port of the Headless UI component library

Home Page:https://svelte-headlessui.goss.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tree shaking

mastercoding opened this issue · comments

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?

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