How To Manually Compile and Minify LESS Source Files
erics, Posted May 24th, 2012 at 10:12:52am
Prerequisites:
- LESS Compiler
- YUI Compressor
Unzip and copy the build/yuicompressor-2.4.7.jar file to a known location. - Java runtime
Install of this is beyond the scope of this post
1 2 |
/usr/lib/nodejs/less/bin/lessc yourFile.less > yourFile.css /usr/bin/java -jar yuicompressor-2.4.7.jar yourFile.css -v -o yourFile.min.css --charset utf-8 |
Good luck!
Leave Your Comment
All fields marked with "*" are required.