add jsx to canCompile
This commit is contained in:
@@ -66,7 +66,7 @@ exports.camelCase = function (value) {
|
||||
|
||||
exports.canCompile = function (filename) {
|
||||
var ext = path.extname(filename);
|
||||
return ext === ".js" || ext === ".es6";
|
||||
return _.contains([".js", ".es6", ".jsx"], ext);
|
||||
};
|
||||
|
||||
exports.buildUidGenerator = function () {
|
||||
|
||||
Reference in New Issue
Block a user