babel / minify

:scissors: An ES6+ aware minifier based on the Babel toolchain (beta)
https://babeljs.io/repl
MIT License
4.39k stars 225 forks source link

babel-minify still relevant? #945

Closed DanielRuf closed 5 years ago

DanielRuf commented 5 years ago

Is babel-minify still relevant? Because terser is very good, and closure-compiler is still one of the best.

Additionally butternut is not actively developed and has several issues - for example the compression throws errors in projects.

bardiharborow commented 5 years ago

If you are asking whether there are more functional and more stable compression engines available, then you have answered your own question. This project's tight integration with Babel however makes it a promising candidate if more development time is invested. Whether this will happen or not... well trying to divine the open-source crystal ball is a pointless endeavor.

xtuc commented 5 years ago

Keep in mind that babel-minify is marked as beta currently.

DanielRuf commented 5 years ago

Okay, thanks for the info and clarification. This answers my question(s).

hzoo commented 5 years ago

Going to write up something for this in a bit (and I'll update the readme to be more clear). I think @bardiharborow has it correct: the general idea makes sense so I don't think we would want to drop it, but currently there isn't enough people working on it so we should just signal that better.

edited: https://github.com/babel/minify/pull/947

https://github.com/babel/minify/commit/6b8bab6bf5905ebc3a5a9130662a5fef34886de4