Bug#626005: RFP: libcss-minifier-perl -- minify a CSS file and have the output written directly to another file

Patrick Matthäi pmatthaei at debian.org
Sat May 7 18:58:43 UTC 2011


Package: wnpp
Severity: wishlist

* Package name    : libcss-minifier-perl
  Version         : 0.01
  Upstream Author : Peter Michaux, <petermichaux at gmail.com>
* URL             : http://search.cpan.org/~pmichaux/CSS-Minifier-0.01/lib/CSS/Minifier.pm
* License         : Perl
  Programming Lang: Perl
  Description     : minify a CSS file and have the output written directly to another file

This package is required to package otrs 3.0 in Debian.

This module removes unnecessary whitespace from CSS. The primary requirement developing this
module is to not break working stylesheets: if working CSS is in input then working
CSS is output. The Mac/Internet Explorer comment hack will be minimized but not stripped and so will continue to function.

This module understands space, horizontal tab, new line, carriage return, and form feed characters
to be whitespace. Any other characters that may be considered whitespace are not minimized.
These other characters include paragraph separator and vertical tab.

For static CSS files, it is recommended that you minify during the build stage of web deployment.
If you minify on-the-fly then it might be a good idea to cache the minified file.
Minifying static files on-the-fly repeatedly is wasteful.

-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)





More information about the pkg-perl-maintainers mailing list