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 modified tsconfig.json and outputting to dist/esm (or similar).
- add a
module field to package.json pointing to dist/esm/index.js.
If you are keen I am happy to PR :)
Thanks for the library!
Hello! Would you be open to a pull request adding an ESM bundle? This would require roughly two changes:
build:esm, building the project using a slightly modifiedtsconfig.jsonand outputting todist/esm(or similar).modulefield topackage.jsonpointing todist/esm/index.js.If you are keen I am happy to PR :)
Thanks for the library!