Document that babel-register already uses source-map-support
So you actuall don't need to use import 'source-map-support/register'
This commit is contained in:
parent
88db836311
commit
1effda14e1
@ -37,6 +37,7 @@ import 'source-map-support/register'
|
|||||||
import sourceMapSupport from 'source-map-support'
|
import sourceMapSupport from 'source-map-support'
|
||||||
sourceMapSupport.install()
|
sourceMapSupport.install()
|
||||||
```
|
```
|
||||||
|
Note: if you're using babel-register, it includes source-map-support already.
|
||||||
|
|
||||||
It is also very useful with Mocha:
|
It is also very useful with Mocha:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user