DOKK / manpages / debian 12 / yui-compressor / yui-compressor.1.en
YUI-COMPRESSOR(1) User Commands YUI-COMPRESSOR(1)

yui-compressor - JavaScript/CSS minifier

yui-compressor [options] [input file]

Global Options

Displays this information
Specifies the type of the input file
Read the input file using <charset>
Insert a line break after the specified column number
Display informational messages and warnings
Place the output into <file>. Defaults to stdout.

JavaScript Options

Minify only, do not obfuscate
Preserve all semicolons
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'.

The following example demonstrates how to use yui-compressor

/usr/share/doc/yui-compressor/README.md.gz

This manual page was written by Damien Raude-Morvan <drazzib@debian.org> and Michael Gilbert <michael.s.gilbert@gmail.com>, for the Debian GNU/Linux system (but may be used by others).

January 2010 yui-compressor