News for hackers. Stuff that matters.
Re:Announcing Scala.js 0.6.8 by gedy on Saturday March 19, 2016 @04:39PM (#11320334)
Since webpack does dead code elimination as well, wondering if that all needs to be a problem solved in Scala.js?
Re:Announcing Scala.js 0.6.8 by sjrd on Saturday March 19, 2016 @04:58PM (#11320421)
Scala.js does a much better dce than Webpack, or any other JavaScript optimizer (including Closure). It does it at the method level (not top-level function/class level), and can also leverage the type system to do a better job at it. So yes, it needs to be solved at the Scala.js level.

Scala.js also performs whole-program optimizations of the code, besides "simple" dead cole elimination.