NAME
Catalyst::View::CSS::Minifier::XS - Concenate and minify your CSS files.
VERSION
Version 0.01
SYNOPSIS
./script/myapp_create.pl view CSS CSS::Minifier::XS
sub css : Local {
my ($self,$c) = @_;
$c->stash->{template} = [ qw|/css/small.css /css/big.css| ];
$c->forward($c->view('CSS'));
}
DESCRIPTION
Take a set of CSS files and integrate them into one big file using CSS::Squish and minifies them using CSS::Minifier::XS. The files are read from the 'template' stash variable, and can be provided as a hashref or a space separated scalar.
SEE ALSO
Catalyst , Catalyst::View, CSS::Squish, CSS::Minifier::XS
AUTHOR
Ivan Drinchev <drinchev at gmail.com>
THANKS
To Marcus Ramberg mramberg@cpan.org
and his Catalyst::View::CSS::Squish on which I've build this one
BUGS
Please report any bugs or feature requests to bug-catalyst-view-css-minifier-xs at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-View-CSS-Minifier-XS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2008 Ivan Drinchev, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.