Hacker News new | ask | show | jobs
by ovao 3369 days ago
crass is doing some really wonderful stuff here -- I'm impressed!

It's very interesting, however, that no one minifier is a consistent winner in these test cases, and that running CSS through multiple minifiers is actually, potentially, not all that crazy. (The very debatable real value in doing that notwithstanding.)

3 comments

Yeah, crass is pretty amazing.

Have you seen my post on the Remynifier, where I do exactly that?

https://luisant.ca/remynifier

I appreciate the compliment! (author of crass here)

I've mentioned it before, but it's really not a great idea to use multiple minifiers. Minifier bugs can get nasty, and using multiple minifiers exponentially increases the likelihood that you'll encounter some weird or broken behavior. Make sure to test thoroughly.

And I will mention it one more time: I totally agree with you. It needs to be said.
Really? It seems that CSSO was the strong winner.

It didn't possibly create bugs by rewriting to new units (especially poorly supported units like q) and had the best results overall.

I'd like it to be a wee bit more aggressive on the rounding but other than that it seemed a clear winner.