Rome detects imports that are only used in TS or Flow types and marks them when analyzing dependencies. These imports will not effect module order or be included in a bundle. Files that contain only types will never need to be included.
-
-
Could you use this step to encode a list of imports/exports to later do dead code elimitation of unused exports?
-
Yeah, that information is already collected. It's used currently to validate the existence of imports. It's also used to "resolve" complete locations when building a flat bundle. This is the current analyzeDependencies interfacehttps://gist.github.com/sebmck/33ad6649edcb3e8f19a641e16eee1a86 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 
i was just curious if Rome did some kind of pre-analysis of dependencies before building the graph