Skip to content

Commit

Permalink
[patch][bug] fixes bug causing node_modules to not be excluded from b…
Browse files Browse the repository at this point in the history
…abel on windows (#736)
  • Loading branch information
bawgz authored and jchip committed Mar 6, 2018
1 parent 9a00267 commit ac58844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(options) {

const clientVendor = Path.join(AppMode.src.client, "vendor/");
const babelExclude = x => {
if (x.indexOf("/node_modules") >= 0) return true;
if (x.indexOf("node_modules") >= 0) return true;
if (x.indexOf(clientVendor) >= 0) return true;
return false;
};
Expand Down

0 comments on commit ac58844

Please sign in to comment.