put require hook regex ignore into a code block

This commit is contained in:
Sebastian McKenzie 2014-10-15 15:48:29 +11:00
parent c5da55324d
commit 0a287aba6c

View File

@ -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