diff --git a/src/Task/Assets/Scss.php b/src/Task/Assets/Scss.php index ffd39345a..c2290c592 100644 --- a/src/Task/Assets/Scss.php +++ b/src/Task/Assets/Scss.php @@ -63,6 +63,10 @@ protected function scssphp($file) $scss->setFormatter($this->compilerOptions['formatter']); } + if (isset($this->compilerOptions['sourceMap'])) { + $scss->setSourceMap($this->compilerOptions['sourceMap']); + } + return $scss->compile($scssCode); }