diff --git a/lib/6to5/util.js b/lib/6to5/util.js index a4c0317040..2855d8f0b5 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -108,7 +108,7 @@ exports.errorWithNode = function (node, msg) { exports.canCompile = function (filename) { var ext = path.extname(filename); - return _.contains([".js", ".es6", ".jsx"], ext); + return _.contains([".js", ".es6"], ext); }; exports.sourceMapToComment = function (map) {