Commit fce74f92 authored by yoyo837's avatar yoyo837 Committed by 偏右

Compatible with IE10

parent f347ead8
import '@babel/polyfill';
import 'url-polyfill';
import './polyfill';
import dva from 'dva';
import createHistory from 'history/createHashHistory';
......
import '@babel/polyfill';
import 'url-polyfill';
import setprototypeof from 'setprototypeof';
// React depends on set/map/requestAnimationFrame
// https://reactjs.org/docs/javascript-environment-requirements.html
// import 'core-js/es6/set';
// import 'core-js/es6/map';
// import 'raf/polyfill'; 只兼容到IE10不需要,况且fetch的polyfill whatwg-fetch也只兼容到IE10
// https://github.com/umijs/umi/issues/413
Object.setPrototypeOf = setprototypeof;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment