put require hook regex ignore into a code block
This commit is contained in:
parent
c5da55324d
commit
0a287aba6c
@ -180,7 +180,11 @@ require("6to5/register");
|
|||||||
```
|
```
|
||||||
|
|
||||||
**NOTE:** By default all requires to `node_modules` will be ignored. You can
|
**NOTE:** By default all requires to `node_modules` will be ignored. You can
|
||||||
override this by passing an ignore regex via `require("6to5/register")(/regex/)`.
|
override this by passing an ignore regex via:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
require("6to5/register")(/regex/)
|
||||||
|
```
|
||||||
|
|
||||||
### Browser
|
### Browser
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user