@samitouri / QOS-React-2 / commits / 8c1ce8f9c3

Update sourceMap to return .toJSON() output

This means we get a data object back rather than a SourceMapGenerator

Anthony van der Hoorn committed Jul 11, 2014 at 08:44 UTC 8c1ce8f9c34f38a1cd2f3d743eee84f12964864a
1 file changed +1 -1
main.js
+1 -1
@@ -23,7 +23,7 @@ module.exports = {
23 var result = {};
24 result.code = output.code;
25 if (options && options.sourceMap) {
26 - result.sourceMap = output.sourceMap;
26 + result.sourceMap = output.sourceMap.toJSON();
27 }
28 return result;
29 }