From e5f1eb64b68de8faf4190cdf0544b5002f64d5e7 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 7 Nov 2014 13:41:24 +1100 Subject: [PATCH] clarify default ignore in 6to5/register --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06e9d29c4b..62e13e25d1 100644 --- a/README.md +++ b/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