Open NiclasThobaben opened 1 year ago
I didn't plan to support it. Can't you use ESM in your project?
We do. However, we use some tools, like Jest, which rely on CommonJS. For Jest this is not a huge problem, as it support transformation of dependencies, before execution, but other tools (i.e. cucumber-js) have issues with that.
If this is an easy change, feel free to open a PR :)
It should just be this, no?
Hi, do you plan on supporting a commonJS build of the library or will it stay pure ESM?