transform-regenerator README pt2 (#5203)

* docs: [skip ci] remove comments in JSON

* docs: [skip ci] nit remove duplicated babelrc
This commit is contained in:
Sven SAULEAU 2017-01-24 15:32:18 +01:00 committed by GitHub
parent 7fe59c38fe
commit aa7817bafb

View File

@ -44,8 +44,6 @@ npm install --save-dev babel-plugin-transform-regenerator
### Via `.babelrc` (Recommended)
**.babelrc**
Without options:
```json
@ -56,13 +54,19 @@ Without options:
With options:
|name|default value|
|---|---|
|asyncGenerators|true|
|generators|true|
|async|true|
````json
{
"plugins": [
["transform-regenerator", {
asyncGenerators: false, // true by default
generators: false, // true by default
async: false // true by default
asyncGenerators: false,
generators: false,
async: false
}]
]
}