Merge pull request #5380 from babel/extra-do + 6.x commits
This commit is contained in:
@@ -64,12 +64,17 @@ npm install --save-dev babel-plugin-transform-react-jsx
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```js
|
||||
// without options
|
||||
Without options:
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": ["transform-react-jsx"]
|
||||
}
|
||||
// with options
|
||||
```
|
||||
|
||||
With options:
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": [
|
||||
["transform-react-jsx", {
|
||||
|
||||
Reference in New Issue
Block a user