Closed
Description
Hello! Would you be open to a pull request adding an ESM bundle? This would require roughly two changes:
- add a build script
build:esm
, building the project using a slightly modifiedtsconfig.json
and outputting todist/esm
(or similar). - add a
module
field topackage.json
pointing todist/esm/index.js
.
If you are keen I am happy to PR :)
Thanks for the library!