dc/bundler-cssmin

CSSMin support for dc/bundler

dev-master 2015-05-24 12:59 UTC

This package is not auto-updated.

Last update: 2020-01-10 15:31:44 UTC


README

Enables you to minify CSS files using dc/bundler.

Installation

composer require dc/bundler-cssmin

or in composer.json

"require": {
    "dc/bundler-cssmin": "dev-master"
}

Setup

This package depends on dc/router, but strongly suggests dc/ioc. This is how you register the transformer with the IoC container so it is picked up automatically:

\DC\Bundler\CSSMin\CSSMinTransformer::registerWithContainer($container, $filters, $plugins);

The $filters and $plugins variables are optional. They correspond to the options to CssMin::Minify().