Skip to content

Commit cc207f3

Browse files
committed
Added stage 0 for babel to make rest/spread work
1 parent 3f462df commit cc207f3

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,6 +1,7 @@
11
{
22
"presets": [
33
"es2015-native-modules",
4+
"stage-0",
45
"react",
56
"airbnb"
67
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"babel-preset-airbnb": "^2.0.0",
4747
"babel-preset-es2015-native-modules": "^6.6.0",
4848
"babel-preset-react": "^6.5.0",
49+
"babel-preset-stage-0": "^6.5.0",
4950
"chai": "^3.5.0",
5051
"copyfiles": "^0.2.1",
5152
"css-loader": "^0.23.1",

0 commit comments

Comments
 (0)