use JavaScript::Minifier::XS qw/minify/;
sub generate{
- my ($self, $format, $logger) = @_;
- debug $logger => "";
+ my ($self, $format, $env) = @_;
+ debug $env => "";
my $js;
$js .= read_file $_ for <js/*.js>;
[200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800'], [$js] ]