3 ms·
> We figured users would want to use the tool standalone without babel and the simpliest thing we thought of was to wraps babel-cli and pass in the preset. Wit
by BinaryIdiot 10y ago
> We figured users would want to use the tool standalone without babel and the simpliest thing we thought of was to wraps babel-cli and pass in the preset.
With all the other minifiers out there the only real draw here is you're already using babel so toss the minifier at it. If anyone, other than for the novelty of it being new, actually downloads babel ONLY to use the minifier I will eat my hat.
- amasad 10y agoES6 support is another reason why. And also, once we start doing advanced optimizations you might want to marinate that hat in some nice sauce.
- BinaryIdiot 10y ago> ES6 support is another reason why. Most will be transpiling that ES6 into ES5 so support isn't that necessary. > And also, once we start doing advanced optimizations you might want to marinate that hat in some nice sauce. Better optimizations than Google Closure and / or Uglifier? Color me skeptical and good luck :)