Skip to content

Commit 8f0387c

Browse files
committed
Remove 'pub/' directory from paths in source maps when compiling css using grunt.
1 parent 91cb4d4 commit 8f0387c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tools/grunt/configs/less.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var lessOptions = {
2424
sourceMapRootpath: '/',
2525
sourceMapBasepath: function (f) {
2626
this.sourceMapURL = this.sourceMapFilename.substr(this.sourceMapFilename.lastIndexOf('/') + 1);
27-
return "/";
27+
return 'pub/';
2828
},
2929
dumpLineNumbers: false, // use 'comments' instead false to output line comments for source
3030
ieCompat: false

0 commit comments

Comments
 (0)