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.
-
-
You could encode some information in there, such as if the module didn't have any side effects, only exported types etc. Then you can reunify those artifacts later when constructing the actual dependency graph.
- 2 more replies
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