dmurvihill / firebase-mock

Firebase mock library for writing unit tests
55 stars 21 forks source link

ship src as esm #52

Open bennypowers opened 4 years ago

bennypowers commented 4 years ago

Shipping src as esm would be extremely useful. It would obviate the need for a browser bundle, and would be interoperable.

A cjs build could be shipped along side that uses require

If you're interested, I can issue a PR

dmurvihill commented 4 years ago

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.