Add Log4perl and minification of JS and CSS files.
This commit is contained in:
+3
-1
@@ -12,8 +12,10 @@ require "$FindBin::Bin/common.pl";
|
||||
my $fap = File::Assets::Precompile->new(
|
||||
'base_path' => "$FindBin::Bin/assets/",
|
||||
'output_path' => "$FindBin::Bin/public/assets/",
|
||||
'minify' => 1,
|
||||
|
||||
#'base_url' => 'https://cdn.example.com/public/assets/',
|
||||
'base_url' => '/public/assets/',
|
||||
'base_url' => '/public/assets/',
|
||||
'development_mode' => 1,
|
||||
);
|
||||
ok( $fap, 'Got object' );
|
||||
|
||||
@@ -4,4 +4,12 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use FindBin;
|
||||
use Log::Log4perl qw(:easy);
|
||||
Log::Log4perl->easy_init(
|
||||
{
|
||||
'level' => $TRACE,
|
||||
'layout' => "%r %p %M-%L %m%n",
|
||||
},
|
||||
);
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user