Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support commonjs! #40

Closed
SunSeekerX opened this issue Oct 17, 2021 · 1 comment
Closed

Need support commonjs! #40

SunSeekerX opened this issue Oct 17, 2021 · 1 comment

Comments

@SunSeekerX
Copy link

Using in nestjs project, only support commonjs.

nestjs project based on typescript, after build the module import by require.

@sindresorhus
Copy link
Owner

TS 4.5, which will be out soon, will support ESM. I have no plans to add back CommonJS support. I recommend just staying on the previous version.

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants