From 9cbb49c6b25fcfab7bc93426d13b7a7f24cd8bce Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 5 Feb 2015 22:25:33 +1100 Subject: [PATCH] don't return the sourcemap when inline is requested - 6to5/grunt-6to5#18 --- lib/6to5/transformation/file.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/6to5/transformation/file.js b/lib/6to5/transformation/file.js index 75a1cb0ddc..c23360d713 100644 --- a/lib/6to5/transformation/file.js +++ b/lib/6to5/transformation/file.js @@ -420,6 +420,7 @@ File.prototype.generate = function () { if (opts.sourceMap === "inline") { result.code += "\n" + util.sourceMapToComment(result.map); + result.map = null; } return result;