projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0f189
)
buildSDK/less-bootstrap-compiler.php
author
edward
<edward@roojs.com>
Wed, 6 Dec 2017 12:08:02 +0000
(20:08 +0800)
committer
edward
<edward@roojs.com>
Wed, 6 Dec 2017 12:08:02 +0000
(20:08 +0800)
buildSDK/less-bootstrap-compiler.php
patch
|
blob
|
history
diff --git
a/buildSDK/less-bootstrap-compiler.php
b/buildSDK/less-bootstrap-compiler.php
index
575daab
..
081c690
100644
(file)
--- a/
buildSDK/less-bootstrap-compiler.php
+++ b/
buildSDK/less-bootstrap-compiler.php
@@
-69,7
+69,9
@@
foreach ($files as $src => $file){
'variables' => $file['variables'],
'sourceMap' => true,
'sourceMapWriteTo' => "{$file['baseDir']}/{$file['minify']}.map",
- 'sourceMapURL' => "{$file['minify']}.map"
+ 'sourceMapURL' => "{$file['minify']}.map",
+ 'sourceMapRootpath' => $file['sourceMapRootpath'],
+ 'sourceMapBasepath' => dirname(realpath($src))
));
echo "Minifing - {$src} To {$min}\n";