Add Object Spread Support to Our Babel Config
Won't really use this in prod code yet but I have a benchmark that uses it.
Sebastian Markbage committed
Mar 24, 2016 at 16:26 UTC
8806463a66cea3caacb7ecd94c54bf9124ae650b
2 files changed
+2
.babelrc
+1
@@ -4,6 +4,7 @@
4
"plugins": [
5
"fbjs-scripts/babel-6/dev-expression",
6
"syntax-trailing-function-commas",
7
+ "babel-plugin-transform-object-rest-spread",
8
"transform-es2015-template-literals",
9
"transform-es2015-literals",
10
"transform-es2015-arrow-functions",
package.json
+1
@@ -25,6 +25,7 @@
25
"babel-plugin-transform-es2015-template-literals": "^6.5.2",
26
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
27
"babel-plugin-transform-es3-property-literals": "^6.5.0",
28
+ "babel-plugin-transform-object-rest-spread": "^6.6.5",
29
"babel-preset-react": "^6.5.0",
30
"browserify": "^13.0.0",
31
"bundle-collapser": "^1.1.1",