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
How exactly are you building your bundle? This package is built in a way that webpack and rollup should pick up optimized ESM builds that allow for tree-shaking.
Also the module is written in ESModule syntax for precisely the reasons of tree-shakeability and we don't include the TypeScript types on purpose, see #368 (comment).
Is your feature request related to a problem? Please describe.
The wrapper ESM approach doesn't produce the most optimal bundles.
Describe the solution you'd like
It'd be better, if this pkg was built using rollup for the most efficient builds for every environment.
Additional context
In the following example,
uuid
is "annoyingly" a single module that is not concatenated by webpack.The text was updated successfully, but these errors were encountered: