Skip to content

Commit

Permalink
Set the file path to fix compatibility with scssphp 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Dec 7, 2020
1 parent 77c79be commit 961abaa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -416,7 +416,7 @@ protected function handleScssLess($content, $arrFile)
$objCompiler->setSourceMap(Compiler::SOURCE_MAP_INLINE);
}

return $this->fixPaths($objCompiler->compile($content), $arrFile);
return $this->fixPaths($objCompiler->compile($content, $this->strRootDir . '/' . $arrFile['name']), $arrFile);
}

$strPath = \dirname($arrFile['name']);
Expand Down

0 comments on commit 961abaa

Please sign in to comment.