-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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
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 <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
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 <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Merged
gibfahn
pushed a commit
that referenced
this issue
Dec 19, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Closed
gibfahn
pushed a commit
that referenced
this issue
Dec 20, 2017
PR-URL: #17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Merged
# for free
to join this conversation on GitHub.
Already have an account?
# 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: