Sample Header Ad - 728x90

How to minify Javascript and CSS with command-line using minify tool?

22 votes
2 answers
42378 views
I'm not that versed in unix and I cannot have Java, so YUI Compressor does not apply, but I have this known Minify tool , which will get a minified version of a JS/CSS file from a specific URI /min/?f=/path/to/file.js.css Which unix commands may I use, using such method, to minify all the js/css files on the public_html folder, replacing all js/css files by their minified versions?
Asked by João Pimentel Ferreira (870 rep)
Dec 16, 2015, 11:30 AM
Last activity: Apr 3, 2024, 02:57 PM