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
Do you think it would be possible to accept also CommonJS?
const QuickLRU = require('quick-lru')
I can make the PR if it's ok for you.
We have a huge project that started with CommonJS; moving everything to ESM would be a big hassle, and node doesn't allow to combine both.
Thank you
The text was updated successfully, but these errors were encountered:
https://joyeecheung.github.io/blog/2024/03/18/require-esm-in-node-js/
Sorry, something went wrong.
@sindresorhus
option --experimental-detect-module is not yet available
--experimental-detect-module
in the meantime do you suggest any workaround?
No branches or pull requests
Do you think it would be possible to accept also CommonJS?
I can make the PR if it's ok for you.
We have a huge project that started with CommonJS; moving everything to ESM would be a big hassle, and node doesn't allow to combine both.
Thank you
The text was updated successfully, but these errors were encountered: