Skip to content

Commit

Permalink
Merge 94aa78f into f2dc249
Browse files Browse the repository at this point in the history
  • Loading branch information
yucho committed Jun 22, 2018
2 parents f2dc249 + 94aa78f commit 12612ca
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 @@ -19,7 +19,7 @@ module.exports = function metalsmithBabel(options) {
for (const originalFilename of Object.keys(files)) {
const ext = extname(originalFilename).toLowerCase();
if (ext !== '.js' && ext !== '.mjs' && ext !== '.jsx') {
return;
continue;
}

const filename = originalFilename.replace(/\.jsx$/i, '.js');
Expand Down

0 comments on commit 12612ca

Please sign in to comment.