Dist::Zilla::Plugin::CSS::Compressor - Compress CSS files
Compress CSS files in your distribution using CSS::Compressor. By default for each
foo.css file in your distribution this plugin will create a
foo.min.css which has been compressed.
Specifies a FileFinder for the CSS files that you want compressed. If this is not specified, it will compress all the CSS files that do not have a
.min. in their filenames. Roughly equivalent to this:
[FileFinder::ByName / CSSFiles] file = *.css skip = .min. [CSS::Compressor] finder = CSSFile
Regular expression substitution used to generate the output filenames. By default this is
[CSS::Compressor] output_regex = /\.css$/.min.css/
which generates a
foo.min.css for each
Output filename. Not used by default, but if specified, all CSS files are merged and compressed into a single file using this as the output filename.
This method adds the compressed CSS files to your distribution.
Graham Ollis <firstname.lastname@example.org>
This software is copyright (c) 2012 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.