This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
[Improvement] Usage of ESM imports instead of CommonJS #93
Labels
improvement
Improve structure/format/performance/refactor/tests of the code
Milestone
Proposal
We should use ESM imports instead of CommonJS.
See: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Blocked by microsoft/TypeScript#33079.
Badly, currently
jest
doesn't support very well ESM imports, we should wait until it is correctly supported.See: jestjs/jest#11167 and jestjs/jest#10025
Note: It is a BREAKING CHANGE.
The text was updated successfully, but these errors were encountered: