Skip to content

Commit

Permalink
Fix @import Direktive für SCSS Dateien
Browse files Browse the repository at this point in the history
SCSS Import Path setzen damit SCSS-Dateien via @import korrekt in die
resultierende Datei eingebettet werden.
  • Loading branch information
debagel committed Sep 2, 2015
1 parent b114466 commit 9faaf0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/res42min.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ protected static function compileCSS($sourceFileWithPath, $cssFileWithPath, $sou

$scss = new scssc();
$scss->setFormatter($formatter);
$scss->addImportPath($path['dirname']);

$compiledCSS = $scss->compile($sourceFileContent);
}
Expand Down

0 comments on commit 9faaf0e

Please sign in to comment.