We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I expect more and more modules will have this as a requirement (eg: chai 5.x, chai-as-promised 8.x)
However it looks like making this change would require making all imports to have explicit .js suffix, which is kindof gross.
https://mikebian.co/converting-a-node-project-from-commonjs-to-esm/
eg chaijs/chai-as-promised#301
The text was updated successfully, but these errors were encountered:
Why? https://electerious.medium.com/from-commonjs-to-es-modules-how-to-modernize-your-node-js-app-ad8cdd4fb662
Sorry, something went wrong.
Ugly, but forward-looking PR merged.
No branches or pull requests
I expect more and more modules will have this as a requirement (eg: chai 5.x, chai-as-promised 8.x)
However it looks like making this change would require making all imports to have explicit .js suffix, which is kindof gross.
https://mikebian.co/converting-a-node-project-from-commonjs-to-esm/
eg chaijs/chai-as-promised#301
The text was updated successfully, but these errors were encountered: