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.
-
-
I'm not sure I understand. It doesn't matter the value of what you're importing. If you only used it in type annotations then it will be ignored as a dependency. If it's imported elsewhere as a value then it would still be included.
- 1 more reply
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 