add babel config
This commit is contained in:
parent
91784682a2
commit
202247a2b5
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"plugins": ["transform-object-rest-spread"],
|
||||
"presets": ["stage-2"]
|
||||
}
|
|
@ -24,6 +24,8 @@
|
|||
"react-dom": "^16.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-airbnb": "^16.1.0",
|
||||
"eslint-plugin-import": "^2.12.0",
|
||||
|
|
Loading…
Reference in New Issue