refactor: add ie polyfills
This commit is contained in:
parent
f99dfd7ce7
commit
969bc8593a
@ -1,5 +1,6 @@
|
||||
import 'react-app-polyfill/ie9'; // For IE 9-11 support
|
||||
import 'react-app-polyfill/ie11'; // For IE 11 support
|
||||
import 'react-app-polyfill/stable';
|
||||
// import 'react-app-polyfill/ie11'; // For IE 11 support
|
||||
import './polyfill'
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* required polyfills
|
||||
*/
|
||||
import "core-js";
|
||||
import 'core-js/features/set/map';
|
||||
|
||||
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
|
||||
// import 'core-js/es6/symbol'
|
||||
@ -12,12 +14,12 @@
|
||||
// import 'core-js/es6/math'
|
||||
// import 'core-js/es6/string'
|
||||
// import 'core-js/es6/date'
|
||||
import 'core-js/es6/array'
|
||||
// import 'core-js/es6/array'
|
||||
// import 'core-js/es6/regexp'
|
||||
import 'core-js/es6/map'
|
||||
// import 'core-js/es6/map'
|
||||
// import 'core-js/es6/weak-map'
|
||||
import 'core-js/es6/set'
|
||||
import 'core-js/es7/object'
|
||||
// import 'core-js/es6/set'
|
||||
// import 'core-js/es7/object'
|
||||
|
||||
/** IE10 and IE11 requires the following for the Reflect API. */
|
||||
// import 'core-js/es6/reflect'
|
||||
|
Loading…
Reference in New Issue
Block a user