Skip to content

Commit

Permalink
transform-regenerator README pt2 (#5203)
Browse files Browse the repository at this point in the history
* docs: [skip ci] remove comments in JSON

* docs: [skip ci] nit remove duplicated babelrc
  • Loading branch information
xtuc committed Jan 24, 2017
1 parent 7fe59c3 commit aa7817b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/babel-plugin-transform-regenerator/README.md
Expand Up @@ -44,8 +44,6 @@ npm install --save-dev babel-plugin-transform-regenerator

### Via `.babelrc` (Recommended)

**.babelrc**

Without options:

```json
Expand All @@ -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
}]
]
}
Expand Down

0 comments on commit aa7817b

Please sign in to comment.