diff --git a/lib/6to5/file.js b/lib/6to5/file.js index 291b6601ef..0ba1dbba93 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -146,7 +146,7 @@ File.prototype.generate = function () { if (this.shebang) { // add back shebang - result.code = this.shebang + result.code; + result.code = this.shebang + "\n" + result.code; } if (opts.sourceMap === "inline") {