Replies: 1 comment
-
I have encountered the same issue! Is there any progress on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have been experiencing issues when importing re-exported modules from
index.ts
files.For example, my
index.ts
file inside@/features/my-feature
looks like this:Then in another file, if I do:
...it also is importing
ComponentB
andComponentC
alongsideComponentA
(even when those are completely unused).Is this expected behavior?
I was expecting for some form of tree shaking to occur and for the unused imports to not also be inadvertently imported as well.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions