'\" -*- coding: utf-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH cleancss 1 "May 2013" "Version 0.1.0.x" "Node.js CSS cleaner" .SH NAME cleancss \- CSS file minifyer .SH SYNOPSIS 'nh .fi .ad l \fBcleancss\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu \fI[options] \fR 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBcleancss\fR is a tool written in Javascript (Node.js) for minifying CSS files. The minified file will be written to stdout or to a given output file. .PP .SH OPTIONS \fBcleancss\fR accepts the following common options: .TP \*(T<\fB\-h, \-\-help\fR\*(T> Output usage information .TP \*(T<\fB\-v, \-\-version\fR\*(T> Output the version number .TP \*(T<\fB\-e, \-\-remove\-empty\fR\*(T> Remove empty declarations (e.g. a{}) .TP \*(T<\fB\-b, \-\-keep\-line\-breaks\fR\*(T> Keep line breaks .TP \*(T<\fB\-\-s0\fR\*(T> Remove all special comments (i.e. /*! special comment */) .TP \*(T<\fB\-\-s1\fR\*(T> Remove all special comments but the first one \*(T<\fB\-r, \-\-root\-path [root\-path]\fR\*(T> Set a root path to which resolve absolute @import rules \*(T<\fB\-o, \-\-output [output\-file]\fR\*(T> Use [output\-file] as output instead of stdout .SH EXAMPLES $ cleancss one.css .PP $ cleancss \-o one\-min.css one.css .PP $ cat one.css two.css three.css | cleancss \-o merged\-and\-minified.css .PP $ cat one.css two.css three.css | cleancss | \ \\ gzip \-9 \-c > merged\-minified\-and\-gzipped.css.gz .SH "SEE ALSO" \fB/usr/share/doc/node\-clean\-css\fR .SH AUTHOR This manual has been written for the Debian project by Mike Gabriel and may be used by others.