Skip to content

Commit dbb1704

Browse files
committed
Add babel-polyfill.
1 parent e5a7b64 commit dbb1704

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"babel-plugin-transform-class-properties": "^6.24.1",
3434
"babel-plugin-transform-object-rest-spread": "^6.26.0",
3535
"babel-plugin-transform-runtime": "^6.23.0",
36+
"babel-polyfill": "^6.26.0",
3637
"babel-preset-env": "^1.6.1",
3738
"babel-preset-react": "^6.24.1",
3839
"classnames": "^2.2.5",

src/web/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3+
import 'babel-polyfill';
34
import RouterRoot from './Router';
45

56
ReactDOM.render(

0 commit comments

Comments
 (0)