Feature request: support for native Ecma script modules
Havunen opened this issue · 4 comments
I'm requesting this module to add support for native ESM modules so it can be loaded in environments where common js is not supported. For example jest native ESM mode.
add "type": "module"
to package.json and "exports" entry point
I'm afraid that it will break the module import for many people (including me)… depending on the version of Node and how old your projects are.
I'd have to run some tests, but it's not on my priority list right now, so don't hold your breath!
What about bumping major version to v3 to indicate the braking change and supporting both v2 and v3 temporarily?
What about bumping major version to v3 to indicate the braking change and supporting both v2 and v3 temporarily?
Yes, but it means more work for me because I'll have to maintain two branches. I'll think about it.