Skip to content

Commit fc1b9cb

Browse files
committed
Avoid source-map-loader matches incorrect source map url
1 parent 910482f commit fc1b9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function updateLink(linkElement, obj) {
245245

246246
if(sourceMap) {
247247
// http://stackoverflow.com/a/26603875
248-
css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
248+
css += "\n/*# sourceMapping" + "URL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
249249
}
250250

251251
var blob = new Blob([css], { type: "text/css" });

0 commit comments

Comments
 (0)