Skip to content

Commit

Permalink
Ensure source map object is written as JSON
Browse files Browse the repository at this point in the history
Resolves babelgh-3
  • Loading branch information
es128 committed Oct 9, 2014
1 parent 9bfc33e commit ec635eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/6to5.js
Expand Up @@ -13,7 +13,7 @@ module.exports = function (grunt) {
grunt.file.write(el.dest, res.code);

if (res.map) {
grunt.file.write(el.dest + '.map', res.map);
grunt.file.write(el.dest + '.map', JSON.stringify(res.map));
}
});
});
Expand Down

0 comments on commit ec635eb

Please sign in to comment.