clarify default ignore in 6to5/register
This commit is contained in:
parent
6145f0a03b
commit
e5f1eb64b6
10
README.md
10
README.md
@ -190,7 +190,15 @@ require("6to5/register");
|
||||
```
|
||||
|
||||
**NOTE:** By default all requires to `node_modules` will be ignored. You can
|
||||
override this by passing an ignore regex with`.
|
||||
override this by passing an ignore regex via options.
|
||||
|
||||
```javascript
|
||||
require("6to5/register")({
|
||||
// This will override `node_modules` ignoring - you can alternatively pass
|
||||
// a regex
|
||||
ignore: false
|
||||
});
|
||||
```
|
||||
|
||||
##### Options
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user