3 ms·
Pretty, impressive, and all that. But realistically isn't all this effort for nothing? If you're doing a project that needs to have scripts and css minified,
by jasonkester 15y ago
Pretty, impressive, and all that. But realistically isn't all this effort for nothing?
If you're doing a project that needs to have scripts and css minified, the last thing you'd want to do is to introduce a manual drag/drop/arrange/copy/paste step into your build and deploy process. You'll have a command line tool that you incorporate into your automated build and that will be the last you think of it.
I suspect this will get used in the critical path of actual projects about as often as jsbeautifier.org does for javascript. As in, pretty much never.
- zachwill 15y agoCompletely agree that a commandline tool is optimal — the site is actually built off of the clean-css commandline minifier. The real world use case is currently one of my developer friends is using the Foundation framework by Zurb (which comes with a bunch of separate CSS files, so you can pick and choose), and instead of having 5-6 <link> elements (extraneous HTTP requests are bad), those can all be packaged up in one minifed CSS file. Using that as a vanilla reset, he can link to another CSS file with his modifications and changes — and never has to interact with the commandline clean-css or YUI Compressor utility. It's just drag and drop with the same results.