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
Loving this project so far, but Ive ran into an issue where I can't use it because it doesn't provide a suitable distribution format. UMD works in the browser, but not in an environment like Vite (with SSR), so it would be awesome if either CommonJS or ES modules were published in addition. I was able to easily swap over the default module format to CommonJS using this change:
Hi!
Loving this project so far, but Ive ran into an issue where I can't use it because it doesn't provide a suitable distribution format. UMD works in the browser, but not in an environment like Vite (with SSR), so it would be awesome if either CommonJS or ES modules were published in addition. I was able to easily swap over the default module format to CommonJS using this change:
But this is more of a proof-of-concept, as ideally both UMD and CJS should be published to maintain backwards compatibility.
This would be awesome to have, and I thank you in advance for if you do accept this suggestion!
The text was updated successfully, but these errors were encountered: