I am using TypeScript barrel index files (i.e. re-export pattern) to solve a needed cyclic dependency (i.e. circular imports) as explained in this article.
However, the article's author mentioned that this could impact code-splitting / tree-shaking by bundlers such as Webpack v4. I just want to understand the impact in general and how does it manifests itself?
Is there a better way to do solve circular dependencies and maintain better code-splitting / tree-shaking?