You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a component library on top of heroicons and headlessui, but I am having some problem to make my component library tree-shakable. The components that using heroicons are not tree-shakable.
I am using this tool (agadoo) to check tree-shakable config, but I am not sure if we can trust 100% in it.
I saw in the source code that you guys annotate the with PURE annotations, but when I run agadoo with this component its fails
Hello, thanks for this library!!
The problem
I am building a component library on top of heroicons and headlessui, but I am having some problem to make my component library tree-shakable. The components that using heroicons are not tree-shakable.
I am using this tool (agadoo) to check tree-shakable config, but I am not sure if we can trust 100% in it.
I saw in the source code that you guys annotate the with PURE annotations, but when I run agadoo with this component its fails
The fix
The fix, it's only add one more pure annotation in forwardRef function call.
The text was updated successfully, but these errors were encountered: