Add “transform-object-rest-spread” Babel plugin
parent
5ebf4464ea
commit
f9053d21bb
3
.babelrc
3
.babelrc
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015", "react"]
|
"presets": ["es2015", "react"],
|
||||||
|
"plugins": ["transform-object-rest-spread"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "6.7.2",
|
"babel-core": "6.7.2",
|
||||||
"babel-loader": "6.2.4",
|
"babel-loader": "6.2.4",
|
||||||
|
"babel-plugin-transform-es2015-destructuring": "6.9.0",
|
||||||
|
"babel-plugin-transform-object-rest-spread": "6.8.0",
|
||||||
"babel-preset-es2015": "6.6.0",
|
"babel-preset-es2015": "6.6.0",
|
||||||
"babel-preset-react": "6.5.0",
|
"babel-preset-react": "6.5.0",
|
||||||
"emoji-data": "git://github.com/iamcal/emoji-data.git#6daffc10d8e8fd06b80ec24c9bdcb65218f71563",
|
"emoji-data": "git://github.com/iamcal/emoji-data.git#6daffc10d8e8fd06b80ec24c9bdcb65218f71563",
|
||||||
|
|
Loading…
Reference in New Issue