Skip to content

Commit

Permalink
Merge pull request eugeneware#26 from DveMac/master
Browse files Browse the repository at this point in the history
Allow jsx files to be transformed
  • Loading branch information
eugeneware committed Feb 16, 2014
2 parents 50c37dd + b9c8a64 commit a4363e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var through = require('through');
var falafel = require('falafel');

module.exports = function (file) {
if (!/\.(js|coffee|ls)$/.test(file)) return through();
if (!/\.(js|jsx|coffee|ls)$/.test(file)) return through();
var data = '';

var tr = through(write, end);
Expand Down

0 comments on commit a4363e9

Please sign in to comment.