Docs: update plugin readmes with options [ci skip]
This commit is contained in:
@@ -14,10 +14,21 @@ $ npm install babel-plugin-transform-runtime
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
```js
|
||||
// without options
|
||||
{
|
||||
"plugins": ["transform-runtime"]
|
||||
}
|
||||
|
||||
// with options
|
||||
{
|
||||
"plugins": [
|
||||
["transform-runtime", {
|
||||
"polyfill": false,
|
||||
"regenerator": true
|
||||
}]
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Via CLI
|
||||
|
||||
Reference in New Issue
Block a user