There was an error while loading. Please reload this page.
2 parents dcc347f + b1cf785 commit 9054b14Copy full SHA for 9054b14
tasks/lib/sourcemap.js
@@ -146,7 +146,7 @@ exports.init = function(grunt) {
146
147
var sourceContent;
148
// Browserify, as an example, stores a datauri at sourceMappingURL.
149
- if (/data:application\/json;(charset:utf-8;)?base64,([^\s]+)/.test(sourceMapFile)) {
+ if (/data:application\/json;(charset.utf-8;)?base64,([^\s]+)/.test(sourceMapFile)) {
150
// Set sourceMapPath to the file that the map is inlined.
151
sourceMapPath = filename;
152
sourceContent = new Buffer(RegExp.$2, 'base64').toString();
0 commit comments