Skip to content

Commit 6aa5f6c

Browse files
committed
Added babel-stage-0 to default template for rest/spread
1 parent 60cd2c1 commit 6aa5f6c

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"presets": [
33
"es2015",
4+
"stage-0",
45
"react"
56
]
67
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# react-webpack-template - Changelog
22

3+
## 1.7.1:
4+
5+
1. Added support for missing rest/spread operator (using babel-stage-0 per default now)
6+
37
## 1.7.0:
48

59
1. Added back absolute paths to [make subroutes in react-router work](https://github.com/newtriks/generator-react-webpack/issues/228)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"babel-polyfill": "^6.3.14",
4343
"babel-preset-es2015": "^6.0.15",
4444
"babel-preset-react": "^6.0.15",
45+
"babel-preset-stage-0": "^6.5.0",
4546
"bower-webpack-plugin": "^0.1.9",
4647
"chai": "^3.2.0",
4748
"copyfiles": "^0.2.1",

0 commit comments

Comments
 (0)