Tree-shaking issue in molecular component library #11845
AlexMargk2112
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I am developing a component library with Vite in LIB mode. I have smaller components(atoms) and more complex components which i use atoms.
When i consume the library and use only a pure atom component in app i can see in the bundled JS the components that are imported by the molecular components although they are not being used. Does anyone has experienced similar thing?
Does any one know some tricks of developing molecular UI lib.
I use vue 3 and TS.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions