Skip to content

Commit

Permalink
fix: loadOptions text regex (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nedgeva committed Jan 12, 2021
1 parent 4ee73ae commit 34ca3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel/src/utils/loadOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function loadOptions(
},
{
// The old `ignore` option is used as a default value for `ignore` rule.
test: ignore ?? /\/node_modules\//,
test: ignore ?? /[\\/]node_modules[\\/]/,
action: 'ignore',
},
],
Expand Down

0 comments on commit 34ca3e5

Please sign in to comment.