Skip to content

Commit 7da9652

Browse files
committed
Add missing babel plugin.
1 parent 0beac29 commit 7da9652

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"presets": [["env", { "loose": true }], "react"],
3+
"plugins": ["transform-object-rest-spread"],
34
"ignore": ["node_modules", "stories.js"]
45
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"babel-cli": "6.26.0",
4949
"babel-core": "6.26.3",
5050
"babel-eslint": "10.0.1",
51+
"babel-plugin-transform-object-rest-spread": "6.26.0",
5152
"babel-preset-env": "1.7.0",
5253
"babel-preset-react": "6.24.1",
5354
"eslint": "5.11.1",

0 commit comments

Comments
 (0)