-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Imported modules are undefined if also used inside loader #17130
Labels
esm
Issues and PRs related to the ECMAScript Modules implementation.
Comments
mscdex
added
the
esm
Issues and PRs related to the ECMAScript Modules implementation.
label
Nov 19, 2017
Thanks for reporting, I've created a fix at #17131. |
guybedford
added a commit
to guybedford/node
that referenced
this issue
Nov 22, 2017
guybedford
added a commit
that referenced
this issue
Nov 28, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
The fix here has been merged. |
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
Merged
gibfahn
pushed a commit
that referenced
this issue
Dec 19, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
Closed
gibfahn
pushed a commit
that referenced
this issue
Dec 20, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Bradley Farias <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm writing custom loader for esm modules and encountered problem.
I bypass problem by keeping track of what modules are used in loader and when one of them is requested I use
dynamicInstantiate
hook.Minimal code for issue looks like this:
loader.mjs
issue.mjs
command
expected
actual
The text was updated successfully, but these errors were encountered: