Open bennypowers opened 4 years ago
Shipping src as esm would be extremely useful. It would obviate the need for a browser bundle, and would be interoperable.
src
browser
A cjs build could be shipped along side that uses require
cjs
require
If you're interested, I can issue a PR
Yes please, ESM is awesome and it would be great to add support for it and eventually remove the CommonJS browser bundle. Thanks!
We will have to have a community discussion about our migration strategy.
Shipping
src
as esm would be extremely useful. It would obviate the need for abrowser
bundle, and would be interoperable.A
cjs
build could be shipped along side that usesrequire
If you're interested, I can issue a PR