BSD Ports

textproc/p5-CSS-Minifier 0.01_1 DragonFly

Perl extension for minifying CSS

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc, www
Package size
8.6 KiB, 18.3 KiB installed

Description

CSS::Minifier 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.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-CSS-Minifier0.01_1
FreeBSDtextproc/p5-CSS-Minifier0.01_1
OpenBSDwww/p5-CSS-Minifier0.01p2

Install

Binary package:

pkg install p5-CSS-Minifier

From DPorts:

cd /usr/dports/textproc/p5-CSS-Minifier && make install clean

Dependencies

Run dependencies 1