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
Rollup is replacing import() with require(), which causes an error when attempting to import an ESM module from a CommonJS module.
import()
require()
The text was updated successfully, but these errors were encountered:
Hi, what is the difference with import(specifier) directly?
import(specifier)
Sorry, something went wrong.
Sorry, I’m not sure what you’re asking.
cf54a0b
Sorry if my question is confusing.
I'm just wondering what problem is this module resolving. 🤣
Successfully merging a pull request may close this issue.
Rollup is replacing
import()
withrequire()
, which causes an error when attempting to import an ESM module from a CommonJS module.The text was updated successfully, but these errors were encountered: