News for hackers. Stuff that matters.
Re:Closure Compiler: a tool for making JavaScript download a... by dahart on Monday August 31, 2015 @12:12PM (#10147477)
You tell the compiler a file that it's not allowed to dead-strip. From there, it then computes the transitive closure of the rest of your code that is referenced from the "entry point", and removes everything else. It is, of course, possible to reference things in indirect ways that the compiler can't see, so they provide some mechanisms to force inclusion if necessary.

There are no comments on this comment yet.