better blacklist tests and expose register cache - closes #344

This commit is contained in:
Sebastian McKenzie
2014-12-29 01:31:26 +11:00
parent ceb32816d7
commit c8cf7ff286
2 changed files with 21 additions and 4 deletions

View File

@@ -250,6 +250,10 @@ require("6to5/register")({
// This will remove the currently hooked extensions of .es6 and .js so you'll
// have to add them back if you want them to be used again.
extensions: [".js", ".es6"]
extensions: [".js", ".es6"],
// Enables `roadrunner` cache that will save to a `.roadrunner.json` file in your cwd
// Do not check this into git as it's user-specific
cache: true
});
```