remove jsx from valid extensions since we're now using acorn
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user