'add:babel-polyfill'

This commit is contained in:
zuiidea
2017-03-12 22:32:13 +08:00
parent ed5125a27b
commit 41184c549a
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@
"babel-plugin-dva-hmr": "^0.1.0",
"babel-plugin-import": "^1.0.1",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-polyfill": "^6.23.0",
"babel-runtime": "^6.9.2",
"dora": "^0.4.3",
"dora-plugin-browser-history": "^0.2.0",
+1
View File
@@ -1,4 +1,5 @@
import './index.html'
import 'babel-polyfill'
import dva from 'dva'
// 1. Initialize
+1
View File
@@ -1,4 +1,5 @@
import './index.html'
import 'babel-polyfill'
import dva from 'dva'
import { browserHistory } from 'dva/router'