Just an idea - It would be nice if DCE could outpu...
# javascript
t
Just an idea - It would be nice if DCE could output what gets included in output binary, why and what gets eliminated or inlined. I have hard time understanding why I get such a bit binary output for some small project. Maybe I have some unnecessary code dependency, that's cascading into whole lot of more code.
e
something to compare to: ProGuard has a
-whyareyoukeeping <name>
option, which causes it to print out the shortest chain that keeps it
t
Ah, a tree would be more helpful analysing whether dependency is really unnecessary.
Graph + IDE plugin would be the best ^^
b
Kotlin/JS output is pretty large, it's not your fault. For checking your dependencies, you can use ./gradlew dependencies
If you are curious about the side of npm dependencies, you can output stats from webpack during Kotlin/JS build, and view it here: http://chrisbateman.github.io/webpack-visualizer/