dc / bundler-cssmin
CSSMin support for dc/bundler
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/dc/bundler-cssmin
Requires
- dc/bundler: dev-master
- natxet/cssmin: 3.*
Suggests
- dc/ioc: dev-master
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()
.