News for hackers. Stuff that matters.
Re:Babili: An ES6+ aware minifier based on Babel by gavinpc on Tuesday August 30, 2016 @06:38PM (#12394525)
Long live Babel 5.8!

[email protected] is faster than babel 6+, can be installed globally and works out of the box. It just... you know, does what versions 1, 2, 3 & 4 did: compile ES2015 into ES5. So I just use that. Not every project is a "node" project that is already dumping megabytes of dependencies into the project directory. I don't want to have to buy into an entire ecosystem just to use one tool—a shim, at that.

Re:Babili: An ES6+ aware minifier based on Babel by ksherlock on Tuesday August 30, 2016 @08:35PM (#12395072)
I gave up and wrote my own babel cli front end (sudo npm install -g better-babel-cli) for that very reason.

babel --es2015 --babeli infile.js -o outfile.js.

Re:Babili: An ES6+ aware minifier based on Babel by remarkbabel on Tuesday August 30, 2016 @09:48PM (#12395367)
I tried another ES6 to ES5 compiler - buble. But it's too buggy to use right now. I'll revisit it in a year.

https://gitlab.com/Rich-Harris/buble