Skip to content

Commit 927e80d

Browse files
committed
Avoid source-map-loader matches incorrect source map url
1 parent 11c54f2 commit 927e80d

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
@@ -232,7 +232,7 @@ function updateLink(linkElement, obj) {
232232

233233
if(sourceMap) {
234234
// http://stackoverflow.com/a/26603875
235-
css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
235+
css += "\n/*# sourceMapping" + "URL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
236236
}
237237

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

0 commit comments

Comments
 (0)