create-fullstack-app icon indicating copy to clipboard operation
create-fullstack-app copied to clipboard

[Improvement] Usage of ESM imports instead of CommonJS

Open theoludwig opened this issue 4 years ago • 0 comments

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: https://github.com/facebook/jest/issues/11167 and https://github.com/facebook/jest/issues/10025

Note: It is a BREAKING CHANGE.

theoludwig avatar Apr 22 '21 19:04 theoludwig