ESC之ESC.wsf可以实现javascript的代码压缩附使用方法第3/5页
更新时间:2007年05月07日 00:00:00 作者:
可以对javascript的大小进行压缩。使javascript的加载速度变快。
| Commandline options |
| There are a set of options available to provide full control of how you want your source files treated. This list is also available by running ESC with the -help option, but I'll try to explain some of them here more indepth. |
|
----------------------------------------------------------- Usage : ESC.wsf -l [0-4] -ow output.js foo.js bar.js C:\scripts\baz ----------------------------------------------------------- -a [-about] : Description page -c [-copyright] : Copyright/license notice -e [-example] : Examples of usage -h [-help] : This help-screen ----------------------------------------------------------- -l [-level] [01(2)34] : [optional] Set crunch-level (4 sets -$ on) -s [-silent] : [optional] Run silent, nada stdout -v [-verbose] : [optional] Run in verbose mode -$ : [optional] Activate variable-substitution engine ----------------------------------------------------------- -oa <filename> : Target filename for appending -ow <filename> : Target filename for writing -ow STDOUT : Write stream to STDOUT ----------------------------------------------------------- <input-file(s)> : [required] file(s) and/or directories containing scripts to crunch... (If filenames contains spaces, they must be quoted) |
相关文章
PhantomJS快速入门教程(服务器端的 JavaScript API 的 WebKit)
Phantom JS是一个服务器端的 JavaScript API 的 WebKit。其支持各种Web标准: DOM 处理, CSS 选择器, JSON, Canvas, 和 SVG2015-08-08


最新评论