add jsx to canCompile

This commit is contained in:
Sebastian McKenzie
2014-10-11 22:00:22 +11:00
parent 65ccc49a6f
commit 9a8dfd105e

View File

@@ -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 () {