balazsbotond / urlcat

A URL builder library for JavaScript.
https://urlcat.org
MIT License
1.82k stars 57 forks source link

feat: set up library to be ESM compatible #232

Closed gabrielsch closed 1 year ago

gabrielsch commented 1 year ago

Summary

Uses tsup as the library builder in order to support ESM and CJS in an interoperable way.

Closes #171

Details

Build repo and test.

balazsbotond commented 1 year ago

Thank you for the PR! It looks like a nice and simple solution. Please allow me 1-2 days to test it and release a new version.

balazsbotond commented 1 year ago

OK, I've just tested it and it works perfectly. Thank you for taking the time to implement it.