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 noticed in #27 esm support was added but only in the cases of require = require('esm')(module);.
require = require('esm')(module);
What doesn't seem to be supported is this.
const _require = require('esm')(module); const myModule = _require('my-module');
@guybedford any chance you could help on this?
The text was updated successfully, but these errors were encountered:
I haven't checked but I don't believe this supports passing the options object to esm either.
For example:
const options = {}; const _require = require('esm')(module, options); const myModule = _require('my-module');
Sorry, something went wrong.
Wouldn't it make more sense to just look for and replace require('esm') while ignoring the rest?
require('esm')
No branches or pull requests
I noticed in #27 esm support was added but only in the cases of
require = require('esm')(module);
.What doesn't seem to be supported is this.
@guybedford any chance you could help on this?
The text was updated successfully, but these errors were encountered: