Skip to content

Commit

Permalink
Pass settings to (recursively) referenced files
Browse files Browse the repository at this point in the history
  • Loading branch information
k3min authored and matthiasmullie committed May 4, 2018
1 parent ab7fea8 commit 6d922d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CSS.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ protected function combineImports($source, $content, $parents)
// grab referenced file & minify it (which may include importing
// yet other @import statements recursively)
$minifier = new static($importPath);
$minifier->setMaxImportSize($this->maxImportSize);
$minifier->setImportExtensions($this->importExtensions);
$importContent = $minifier->execute($source, $parents);

// check if this is only valid for certain media
Expand Down

0 comments on commit 6d922d0

Please sign in to comment.