AssetTrait.php
authorAlan <alan@roojs.com>
Thu, 8 Sep 2022 07:02:19 +0000 (15:02 +0800)
committerAlan <alan@roojs.com>
Thu, 8 Sep 2022 07:02:19 +0000 (15:02 +0800)
AssetTrait.php

index 60d59cb..738f12a 100644 (file)
@@ -366,7 +366,7 @@ trait Pman_Core_AssetTrait {
             } 
             
             $sm = $vers['sass'] > 3.4 ? ' --sourcemap=auto ' : '--sourcemap';
-            $cmd = "{$sassc} --style=compressed  {$sm} -I {$dir} -I {$this->rootDir}/roojs1/scss/bootstrap ". basename($file) . " {$compiledir}/{$output}";
+            $cmd = "{$sassc} --style=compressed  {$sm} -I ". basename($file) . " -I {$this->rootDir}/roojs1/scss/bootstrap ". basename($file) . " {$compiledir}/{$output}";
             //echo "$cmd\n";            echo `$cmd`;
             `$cmd`;