anotherthing
Re:Babili: An ES6+ aware minifier based on Babel
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
on Tuesday August 30, 2016 @06:25PM (#12394459)
Can babili or babel parse TS?
Re:Babili: An ES6+ aware minifier based on Babel
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
on Tuesday August 30, 2016 @06:02PM (#12394312)
acorn is an ECMAScript parse library that emits a JSON parse tree. It does its job very well, but doesn't do anything else.
Re:Babili: An ES6+ aware minifier based on Babel
on Tuesday August 30, 2016 @05:58PM (#12394288)
Competition is great. The more minifiers the better.
At a usability level, babili has a 33M install footprint and must be installed locally in the directory in which you intend to use it.
uglify-js can be installed globally and has a 1.9M install size.
And I've never understood how to configure babel's preset and plugin files. Why is it necessary for a minifier to do this? Surely this can be greatly simplified.