document cache option for babel-register (#5440) [skip ci]
This commit is contained in:
parent
796d497ea1
commit
0cd541b7d8
@ -66,7 +66,10 @@ require("babel-register")({
|
||||
|
||||
// Setting this will remove the currently hooked extensions of .es6, `.es`, `.jsx`
|
||||
// and .js so you'll have to add them back if you want them to be used again.
|
||||
extensions: [".es6", ".es", ".jsx", ".js"]
|
||||
extensions: [".es6", ".es", ".jsx", ".js"],
|
||||
|
||||
// Setting this to false will disable the cache.
|
||||
cache: true
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user