compress JS

compress JS net :

http://dean.edwards.name/packer/

http://developer.yahoo.com/yui/compressor/

 

downLoad address: http://yuilibrary.com/downloads/#yuicompressor

 

 

YUI Compressor 是一个用来压缩 JS 和 CSS 文件的工具,采用Java开发。

使用方法:

//压缩JS
java -jar yuicompressor-2.4.2.jar --type js --charset utf-8 -v src.js > packed.js
//压缩CSS
java -jar yuicompressor-2.4.2.jar --type css --charset utf-8 -v src.css > packed.css

 

// extJS 压缩的文章:

http://www.extjs.com/learn/Tutorial:Building_Ext_From_Source_%28Chinese%29

你可能感兴趣的:(java,css,ext,Yahoo,yui)