1YUI-COMPRESSOR(1)                User Commands               YUI-COMPRESSOR(1)
2
3
4

NAME

6       yuicompressor - JavaScript/CSS minifier
7

SYNOPSIS

9       yuicompressor [options] [input file]
10

DESCRIPTION

12       Global Options
13
14       -h, --help
15              Displays this information
16
17       --type <js|css>
18              Specifies the type of the input file
19
20       --charset <charset>
21              Read the input file using <charset>
22
23       --line-break <column>
24              Insert a line break after the specified column number
25
26       -v, --verbose
27              Display informational messages and warnings
28
29       -o <file>
30              Place the output into <file>. Defaults to stdout.
31
32       JavaScript Options
33
34       --nomunge
35              Minify only, do not obfuscate
36
37       --preserve-semi
38              Preserve all semicolons
39
40       --disable-optimizations
41              Disable all micro optimizations
42
43       If  no input file is specified, it defaults to stdin. In this case, the
44       'type' option is required. Otherwise, the  'type'  option  is  required
45       only if the input file extension is neither 'js' nor 'css'.
46

EXAMPLES

48       The following example demonstrates how to use yuicompressor
49
50       yuicompressor -o compressed.js original.js
51

SEE ALSO

53       /usr/share/doc/yuicompressor/README.md
54

AUTHOR

56       This    manual    page    was    written    by    Damien   Raude-Morvan
57       <drazzib@debian.org> and Michael Gilbert <michael.s.gilbert@gmail.com>,
58       for the Debian GNU/Linux system (but may be used by others).
59
60
61
62yui-compressor                   January 2010                YUI-COMPRESSOR(1)
Impressum