Tim Peterson Benchmark comparing compression size of Clean-CSS and YUI compressor
Tim Peterson Benchmark comparing compression size of Clean-CSS and YU…
…I compressor, forgot to add my own site stylesheet
…I compressor, forgot to add my own site stylesheet (TP-site.css)
Your clean-CSS file doesn't seem minimized, is it?
You're right, it didn't minimize it. Though b/c it did shrink it somewhat it seemed that Clean-CSS did something. Not sure what was going on so that's when/why I started this issue...
@tim-peterson Hmm, that's very interesting. I'll merge your PR and then investigate what's going on. It seems like a bug, however GoalSmashers.com also has such big CSS files and minimization works fine there.
Thanks for your effort!
@tim-peterson - I ran the minimization of TP-demo locally and it minimizes correctly (size is ~246kB).
Could you please share what environment (Unix, Windows), node.js version, and clean-css version (cleancss -v) you use? It could be a deadly combination of those 3.
@GoalSmashers: Don't get me wrong, but this PR serves no purpose and it's useless for everyone else. It's just garbage files added in the repository,
Perhaps my environment is the problem. Should the node and cleancss versions match up?
Tims-MacBook-Pro:clean-css TimPeterson$ bin/cleancss -v
Tims-MacBook-Pro:clean-css TimPeterson$ node -v
I admit I really know nothing about using Node. I'm pretty sure I installed Node awhile back to play with something else. I didn't install it to run Cleancss. All I did in using Cleancss was to download it onto my computer and use it as is. That now seems likely not sufficient and I apologize for wasting your time if that's the case.
The only thing I might have in my defense is that other beginner Node programmers would seem to likely to do the same thing (no errors = success, until its not) and so improving the README on the installation part might be a good idea.