Skip to content

module: fix submodules loaded by require() and import()

Previously there is an edge case where submodules loaded by require() may not be loaded by import() again from different intermediate edges in the graph. This patch fixes that, added tests, and added debug logs.

Drive-by: make loader a private field so it doesn't show up in logs.

Merge request reports

Loading