Skip to content

Commit

Permalink
Merge pull request #150 from perlpunk/sass-trace
Browse files Browse the repository at this point in the history
Call sass with --trace
  • Loading branch information
kraih authored Dec 6, 2024
2 parents cea1175 + 9df6b5d commit 4bf1fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/AssetPack/Pipe/Sass.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub process {
$asset->content($store->save(\$css, $attrs))->FROM_JSON($attrs);
}
else {
my @args = (qw(sass -s), map { ('-I', $_) } @{$opts{include_paths}});
my @args = (qw(sass -s --trace), map { ('-I', $_) } @{$opts{include_paths}});
push @args, '--scss' if $asset->format eq 'scss';
push @args, qw(-t compressed) if $attrs->{minified};
$self->run(\@args, \$content, \my $css, \my $err);
Expand Down

0 comments on commit 4bf1fca

Please sign in to comment.