From a75248d2d2ffeb79534a5cd41aac2449974e486b Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 19 Oct 2014 14:21:27 +1100 Subject: [PATCH] remove jsx from valid extensions since we're now using acorn --- lib/6to5/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {