gabotechs / dep-tree

Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of files and the dependencies between them.
https://github.com/gabotechs/dep-tree
MIT License
1.5k stars 38 forks source link

[JS/TS] Option not to follow dynamic imports #110

Open sutarmin opened 1 week ago

sutarmin commented 1 week ago

I found this library while trying to understand why my app splits into chunks the way it does. It is quite helpful for the analysis already, but one thing I'm missing for chunk analysis particularly is ignoring (not following) dynamic imports. Is there a way to do it or, if not, is there a way to implement it?

gabotechs commented 3 days ago

This is not supported right now, but it should be easy to add. I can take a look at this soon, in the mean time, feel free to submit a PR, contributions are always welcome!