YUI Compressor在线压缩(Javascript/Css) - aTool在线工具

文件类型:
只压缩,不混淆. 保留不重要的分号(比如'}'前面的分号). 禁用细微优化

执行YUI Compressor命令:

文件压缩比概况:

YUI Compressor | Introduce

YUICompressor Version: 2.4.8pre

	Usage: java -jar yuicompressor-2.4.8pre.jar [options] [input file]

	Global Options
	  -V, --version             Print version information
	  -h, --help                Displays this information
	  --type                    Specifies the type of the input file
	  --charset                 Read the input file using 
	  --line-break              Insert a line break after the specified column number
	  -v, --verbose             Display informational messages and warnings
	  -o                        Place the output into . Defaults to stdout.
	                            Multiple files can be processed using the following syntax:
	                            java -jar yuicompressor.jar -o '.css$:-min.css' *.css
	                            java -jar yuicompressor.jar -o '.js$:-min.js' *.js

	JavaScript Options
	  --nomunge                 Minify only, do not obfuscate
	  --preserve-semi           Preserve all semicolons
	  --disable-optimizations   Disable all micro optimizations

	If no input file is specified, it defaults to stdin. In this case, the 'type'
	option is required. Otherwise, the 'type' option is required only if the input
	file extension is neither 'js' nor 'css'.

推荐功能 / 猜你喜欢 | Suggest

评论 | Comments

官方微信公众号 - 扫一扫关注
公众号: atool-org
1.百度点评点个赞
2.捐助9.9元 | 名单
3.加群236033403
4.Github开源代码