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
The is a limitation of Vite rather than a problem with this package. Tree-shaking can techincally works with default re-export of named exports, since it can all be statically analysed (one of the benefits of ESM). I suggest opening an issue on Rollup about this as it has to be implemented there.
There are already related issues for rollup. Here is an interesting comment about not breaking the default export and making tree-shaking effective. I tested it and it does work.
vitejs/vite#15276 (comment)
The text was updated successfully, but these errors were encountered: