- This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Just wondering what tools folks use to minify CSS/JS, and whether or not there are any things to be sure to do/avoid doing when minifying.
Thanks in advance.
I use LiveReload which minifies my CSS on the fly. For JS I use the YUI Compressor. I just use an online version which can be found here: http://refresh-sf.com/yui/
Always make a backup copy in case you need to add to or edit the code.
I use this: http://refresh-sf.com/yui/
Thanks guys. Am currently reviewing [this post](https://css-tricks.com/musings-on-preprocessing/)…
@TheDoc – Which LiveReload are you using? I Googled “LiveReload” and “LiveReload js”, but wasn’t sure exactly which method you used.
I’m currently looking into the simplest and best method of serving a minimized CSS file to the browser, but retaining all of my comments and white-space when I open the file directly from the server for editing.
Thanks!
Adam
JavaScript – Google Closure, https://developers.google.com/closure/
CSS – With SASS, `sass –watch style.scss:style.css –style compressed` also works on plain CSS files.
@baneydesign – this: http://livereload.com/
But now I just use Compass http://compass-style.org/
If no mistake @TheDoc, Compass has nothing to do with minification. Sass does the thing.
In a sense, you are right. But the question was more ‘what am I using?’. I have Compass installed and I use `compass watch`.
I prefer the online tool at http://www.BlimptonTech.com they use UglifyJS I like the added obfuscation added, gives you a couple grains less in overall file weight.
I’m currently a fan of [Mixture](http://mixture.io “”). Does Sass and JS minification as well as image optimization, and live refresh of local files if you want to use those. It does require you to create an account, but it’s one of the better gui based systems I’ve seen for windows. Planning on trying out [Prepros](http://alphapixels.com/prepros/ “”) soon to see if it has any improvements.