From f9053d21bba99ffb20a0b2b2fd5e92d45e44add1 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Mon, 11 Jul 2016 14:08:26 -0400 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9Ctransform-object-rest-spread?= =?UTF-8?q?=E2=80=9D=20Babel=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .babelrc | 3 ++- package.json | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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",