fix: [skip ci] split babel config
This commit is contained in:
@@ -46,13 +46,17 @@ npm install --save-dev babel-plugin-transform-class-properties
|
||||
|
||||
**.babelrc**
|
||||
|
||||
Without options:
|
||||
|
||||
```json
|
||||
// without options
|
||||
{
|
||||
"plugins": ["transform-class-properties"]
|
||||
}
|
||||
```
|
||||
|
||||
// with options
|
||||
With options:
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": [
|
||||
["transform-class-properties", { "loose": true }]
|
||||
|
||||
Reference in New Issue
Block a user