AssetTrait.php
authorAlan Knowles <alan@roojs.com>
Wed, 16 Dec 2020 05:27:50 +0000 (13:27 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 Dec 2020 05:27:50 +0000 (13:27 +0800)
AssetTrait.php

index c5627bb..e5b1f57 100644 (file)
@@ -328,7 +328,7 @@ trait Pman_Core_AssetTrait {
          
             $scss->setSourceMap(HTML_Scss::SOURCE_MAP_FILE);
             $scss->setSourceMapOptions(array(
-                    //'sourceRoot' => $file['sourceMapRootpath'],
+                    'sourceRoot' => dirname($fp),
             
                     // an optional name of the generated code that this source map is associated with.
                     //'sourceMapFilename' => "{$file['baseDir']}/{$file['name']}.map",