Skip to content

Commit 4b85ec7

Browse files
author
letfly
committed
fix
1 parent 56b5653 commit 4b85ec7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/Tornado-example/.babelrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"plugins": [
33
"transform-react-jsx"
4-
]
5-
}
4+
],
5+
"presets": ["es2015"]
6+
}

examples/Tornado-example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"dependencies": {
44
"babel-core": "^6.1.20",
55
"babel-plugin-transform-react-jsx": "^6.1.18",
6+
"babel-preset-es2015": "^6.3.13",
67
"body-parser": "^1.14.1",
78
"express": "^4.13.3",
89
"react": "^0.14.2",

0 commit comments

Comments
 (0)