We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f6621 commit e6530d4Copy full SHA for e6530d4
lib/loader.js
@@ -98,7 +98,7 @@ module.exports = function(content, map) {
98
if(map.sources) {
99
map.sources = map.sources.map(function(source) {
100
source = source.split("!").pop();
101
- var p = path.relative(query.context || this.options.context, source).replace(/\\/g, "/");
+ var p = path.relative(query.context || this.options.context || this.context, source).replace(/\\/g, "/");
102
if(p.indexOf("../") !== 0)
103
p = "./" + p;
104
return "/" + p;
0 commit comments