News for hackers. Stuff that matters.
Re:Closure Compiler vs Rollup vs Webpack by pabl0rg on Monday April 10, 2017 @03:10AM (#14076633)
Closure probably fell out of vogue because it's excellent, but written in java.
Re:Closure Compiler vs Rollup vs Webpack by masklinn on Monday April 10, 2017 @03:40AM (#14076717)
Closure fell out of vogue because it's fairly heavy and seriously subsets javascript, which makes it convenient when you're compiling to javascript (from a very different language, not just augmenting/macroing it), but not when you're writing it by hand.
Re:Closure Compiler vs Rollup vs Webpack by Bahamut on Monday April 10, 2017 @10:25AM (#14078719)
Something interesting is that I believe Google is working on a compiler that converts TypeScript to Closure, which would let you take advantage of the closure compiler while utilizing TS. That would be a very exciting development.
Re:Closure Compiler vs Rollup vs Webpack by avtar on Monday April 10, 2017 @10:53AM (#14078961)
That's interesting. Are there any mailing list posts, issue links, etc. you're aware of that cover some details?
Re:Closure Compiler vs Rollup vs Webpack by k__ on Monday April 10, 2017 @11:04AM (#14079075)
Re:Closure Compiler vs Rollup vs Webpack by michaelbull on Monday April 10, 2017 @07:08AM (#14077450)
There's a JavaScript version available that has feature parity with the Java version.

https://github.com/google/closure-compiler-js

Re:Closure Compiler vs Rollup vs Webpack by merb on Monday April 10, 2017 @07:49AM (#14077678)
that's only a transpiled version of it:

    The Javascript version of the Closure-Compiler is
    transpiled by GWT from the Java source. For more details
    on the differences in behavior see the super sourced
    files in the main repo.
Re:Closure Compiler vs Rollup vs Webpack by fnordsensei on Monday April 10, 2017 @09:47AM (#14078452)
Is that an issue?
Re:Closure Compiler vs Rollup vs Webpack by lgas on Monday April 10, 2017 @09:53AM (#14078493)
No.
Re:Closure Compiler vs Rollup vs Webpack by merb on Monday April 10, 2017 @10:33AM (#14078771)
(But it's slower ;))
Re:Closure Compiler vs Rollup vs Webpack by cestith on Tuesday April 11, 2017 @11:55AM (#14089240)
Is that an issue? ;-)
Re:Closure Compiler vs Rollup vs Webpack by ng12 on Monday April 10, 2017 @03:13PM (#14081632)
Or because the only real build tool (Plovr) was maintained by a single guy and hasn't been updated in years.
Re:Closure Compiler vs Rollup vs Webpack by cestith on Tuesday April 11, 2017 @11:54AM (#14089234)
I'm sure patches are welcome. Well volunteered!