Replies: 1 comment 2 replies
-
It looks like my problem is with concatenated modules. If a module has been concatenated, then The incoming connections don't seem to have this problem. If I get At the moment, to get the correct outgoing connection info, I need to iterate all of the incoming connection for all modules and invert those to figure out the corresponding outgoing connections. This seems wrong, but maybe there's a reason for it. Is it a bug or intended behavior? |
Beta Was this translation helpful? Give feedback.
-
I'm looking at ModuleGraph, specifically the
incomingConnections
andoutgoingConnections
structures.Looking at the
outgoingConnections
for a particular, I noticed that there were no dependencies present for any of the dynamicimport
statements. The dependencies from the staticimport
statements are there, but not the dynamic ones.Looking the other way around, at the
incomingConnections
for a module that was dynamically imported by the first module, I find the dependency is present.Is this expected that
incomingConnections
contains dependencies that are not present inoutgoingConnections
? I was expecting to be able to get the same dependency info regardless of which structure I look at. But that doesn't seem to be the case. Is it correct?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions