Title: JavaScript Compressor
From Website:
Or,
First make a folder and keep all files:
- yuicompressor-2.4.2.jar
- compiler.jar
- input file(yui-min.js)
Then go to folder path using cd command.
cd ..../yourFolder/
Then follow these 2 command.
java -jar compiler.jar --js yui-min.js --js_output_file yui-min.js.closure.js
java -jar yuicompressor-2.4.2.jar yui-min.js -o yui-min.js.ycomp.js --charset utf-8
No comments:
Post a Comment