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:
Thomas Grainger 2016-07-20 13:04:09 +01:00 committed by GitHub
parent 88db836311
commit 1effda14e1

View File

@ -37,6 +37,7 @@ import 'source-map-support/register'
import sourceMapSupport from 'source-map-support'
sourceMapSupport.install()
```
Note: if you're using babel-register, it includes source-map-support already.
It is also very useful with Mocha: