diff --git a/.babelrc b/.babelrc index 86c445f..47c9ace 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ { - "presets": ["es2015", "react"] + "presets": ["es2015", "react"], + "plugins": ["transform-object-rest-spread"] } diff --git a/package.json b/package.json index 0dec625..28c4997 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,8 @@ "devDependencies": { "babel-core": "6.7.2", "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-react": "6.5.0", "emoji-data": "git://github.com/iamcal/emoji-data.git#6daffc10d8e8fd06b80ec24c9bdcb65218f71563",