From 04a1460460045a6914108636d6cb621bb8b77e6f Mon Sep 17 00:00:00 2001 From: Goh Jia Hao Date: Thu, 24 May 2018 22:23:43 -0700 Subject: [PATCH] Add babel object spread --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 3b21ae1..bc81685 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "babel-core": "^6.26.0", "babel-jest": "^22.1.0", "babel-loader": "^7.1.2", + "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-register": "^6.26.0", "chai": "^4.1.2", @@ -87,6 +88,9 @@ "node": ">= 4.0" }, "babel": { + "plugins": [ + "transform-object-rest-spread" + ], "presets": [ [ "env",