public setImportPaths ( string | array $path ) | ||
$path | string | array |
public function setImportPaths($path)
{
$this->importPaths = (array) $path;
}
public function compile(Filesystem $files, $source, $dest) { $scss = $files->get($source); $this->compiler->setImportPaths(array_merge([$this->getPath($source)], $this->importPaths)); $css = $this->compiler->compile($scss); $files->put($dest, $css); }