Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

[Improvement] Usage of ESM imports instead of CommonJS #45

Open
theoludwig opened this issue Apr 22, 2021 · 0 comments
Open

[Improvement] Usage of ESM imports instead of CommonJS #45

theoludwig opened this issue Apr 22, 2021 · 0 comments
Assignees
Labels
blocked improvement Improve structure/format/performance/refactor/tests of the code.
Milestone

Comments

@theoludwig
Copy link
Owner

theoludwig commented Apr 22, 2021

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.

@theoludwig theoludwig added the improvement Improve structure/format/performance/refactor/tests of the code. label Apr 22, 2021
@theoludwig theoludwig added this to the v4.0.0 milestone Apr 22, 2021
@theoludwig theoludwig self-assigned this Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked improvement Improve structure/format/performance/refactor/tests of the code.
Projects
None yet
Development

No branches or pull requests

1 participant