Skip to content

Commit 76e4f24

Browse files
committed
add babel conf
1 parent 3c686ae commit 76e4f24

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015", "react"]
3+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"postinstall": "node pre-build-production.js"
1212
},
1313
"dependencies": {
14+
"babel-preset-es2015": "^6.9.0",
15+
"babel-preset-react": "^6.5.0",
1416
"react": "^0.14.2",
1517
"react-dom": "^0.14.2",
1618
"sourcejs": "^0.6.0-nightly.4",

0 commit comments

Comments
 (0)