We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c36db commit 8541005Copy full SHA for 8541005
lib/loader.js
@@ -115,7 +115,9 @@ module.exports = function(content, map) {
115
map = result.map;
116
if(map.sources) {
117
map.sources = map.sources.map(function(source) {
118
- return source.split("!").pop().replace(/\\/g, '/');
+ const output = source.split("!").pop().replace(/\\/g, '/');
119
+ if(!query.sourceMapSourcesMapping) return output
120
+ return query.sourceMapSourcesMapping(output)
121
}, this);
122
map.sourceRoot = "";
123
}
0 commit comments