Update babelrc
This commit is contained in:
parent
a248965e31
commit
efa441f62e
2
.babelrc
2
.babelrc
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"presets": ["react"],
|
||||
"presets": ["es2015", "react"],
|
||||
"plugins": ["transform-es2015-modules-commonjs", "transform-object-rest-spread", "transform-flow-strip-types"]
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
|
||||
"babel-plugin-transform-flow-strip-types": "^6.14.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.8.0",
|
||||
"babel-preset-es2015": "^6.18.0",
|
||||
"babel-preset-react": "^6.11.1",
|
||||
"eslint": "^3.2.2",
|
||||
"eslint-loader": "^1.5.0",
|
||||
|
|
Loading…
Reference in New Issue