YUI Compressor 2.4.6 发布
YUI Compressor 是一个用来压缩 JS 和 CSS 文件的工具,采用Java开发。
改进内容:
Fixed numerous bugs that break the compressor and/or the resulting minified files.
Added documentation on what exactly the minifier does and also which CSS hacks it tolerates.
There’s a JavaScript port of CSS min in case it’s more suitable for your build process. Here’s also a test web UI that uses the JavaScript port, where you can experiment with the minifier.
A significant number of new tests added (but you can add even more).
Safe handling of some CSS features that are getting more adoption such as media queries and CSS3 transforms.
http://www.linuxeden.com/html/news/20110427/108950.html
分享到:
相关推荐
yui compressor 2.4.6 发布日期:2011-04-15 用例: java -jar yuicompressor-2.4.6.jar myfile.js -o myfile-min.js
- **yuicompressor-2.4.6.jar**: 这是YUI Compressor的Java可执行文件,是用于压缩JS和CSS的核心组件,支持去除代码中的空格、换行和注释,从而减小文件大小。 - **使用说明.txt**: 提供了详细的工具使用指南,帮助...
首先,你需要下载两个关键的文件:`yuicompressor-2.4.6.jar`,这是YUI Compressor的Java版本,可以从 Yahoo! 官方网站获取;另一个是 `YUIAnt.jar`,它是YUI Compressor的Ant任务扩展,可以从Ubik-Ingenierie的网站...
一、复制yuicompressor-2.4.6.jar到你zend目录的jre\bin(我的是E:\Zend Studio for Eclipse - 6.1.2\jre\bin); 二、新建一个js的文件夹(用来放将要压缩的文件)和一个cjs的文件夹(用来放压缩后的文件);.........
其版本 `yuicompressor-2.4.6` 是一个较旧但仍然可靠的版本,包含了这些核心功能。 在实际应用中,需要注意的是,虽然CSS压缩能够有效减小文件大小,但也可能会降低代码的可读性,对后期维护造成困扰。因此,建议在...
在发布时,需要 yuicompressor-2.4.6.jar 这个第三方库来进行代码压缩。 3. TomsTools-tags-x.x.x.jar:提供了 JSP 自定义标签 `<tt:js>` 和 `<tt:css>`,以替代传统的 `<script>` 和 `<link>` 标签,使得可以直接...