News for hackers. Stuff that matters.
Re:Babili: An ES6+ aware minifier based on Babel by anotherthing on Tuesday August 30, 2016 @06:03PM (#12394327)
`npm install babili` is 33M. Should users know or care what a babel preset is? They just want to minify code.
Re:Babili: An ES6+ aware minifier based on Babel by hzoo on Tuesday August 30, 2016 @06:12PM (#12394374)
Maybe I didn't word that correctly. It was created as a set of babel plugins but because like you said users shouldn't know what a babel preset is we have the cli tool which acts the same as babel-cli so you don't need to do all of that.

Yes, it doesn't need to be 33M that's just a result of the way it was used (babel-cli is that big) and I'm saying that it's something that we can fix

Re:Babili: An ES6+ aware minifier based on Babel by anotherthing on Tuesday August 30, 2016 @06:31PM (#12394494)
Any plans to release minified versions of babili? It would probably shave 90% off the install size.
Re:Babili: An ES6+ aware minifier based on Babel by timdorr on Tuesday August 30, 2016 @06:52PM (#12394606)
Having readable backtraces when something goes wrong is far more valuable to me than saving a couple dozen MB on a 512GB drive.
Re:Babili: An ES6+ aware minifier based on Babel by timdorr on Tuesday August 30, 2016 @09:55PM (#12395392)
Edit: maybe there is some confusion. I'm talking about minifying the tooling, not end user code.
Re:Babili: An ES6+ aware minifier based on Babel by remarkbabel on Tuesday August 30, 2016 @11:38PM (#12395859)
The tools should be minified to reduce their download size and make them run faster (quicker parsing).
Re:Babili: An ES6+ aware minifier based on Babel by BinaryIdiot on Tuesday August 30, 2016 @07:28PM (#12394786)
Then no one would ever minify. Minify makes it faster to download and install (even in some cases it can make the code faster due to some optimizations though I wouldn't bank on it). You minify deployments and, if someone needs to debug, switch to a debug version of the code.