-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Would you be open to building the project as both a CommonJS package and an ESM package?
This way, users who bundle their code can benefit from tree-shaking (and the Node ecosystem is moving in this direction in general)
This should be a fairly simple change that can be handled purely via tsconfig i.e. no code changes required
Since the project will be built as both CJS and ESM, any projects that can only consume CJS packages will still work without any issues
I'm happy to submit a PR for this if wanted :)