Skip to content

Commit 9bdadd3

Browse files
committed
Add transform-object-rest-spread plugin for Babel
1 parent 4873125 commit 9bdadd3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["es2015", "react"]
2+
"presets": ["es2015", "react"],
3+
"plugins": ["transform-object-rest-spread"]
34
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"babel-cli": "^6.14.0",
3434
"babel-core": "^6.14.0",
3535
"babel-loader": "^6.2.5",
36+
"babel-plugin-transform-object-rest-spread": "^6.16.0",
3637
"babel-preset-es2015": "^6.14.0",
3738
"babel-preset-react": "^6.11.1",
3839
"babel-register": "^6.16.3",

0 commit comments

Comments
 (0)