Catalyst::View::CSS::Squish - Concenate your CSS files.
./script/myapp_create.pl view Squish CSS::Squish sub css : Local { my ($self,$c) = @_; $c->stash->{template} = [ qw|/css/small.css /css/big.css| ]; # or "/css/small.css /css/big.css" $c->forward($c->view('Squish')); }
Take a set of CSS files and integrate them into one big file using CSS::Squish. The files are read from the 'template' stash variable, and can be provided as a hashref or a space separated scalar.
The path where we should look for CSS files. Will default to the project 'root' dir under the home directory.
Catalyst , Catalyst::View, CSS::Squish
Marcus Ramberg mramberg@cpan.org.
mramberg@cpan.org
To Jesse Vincent for pointing me towards this module.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::CSS::Squish, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::CSS::Squish
CPAN shell
perl -MCPAN -e shell install Catalyst::View::CSS::Squish
For more information on module installation, please visit the detailed CPAN module installation guide.