我在ie11中面临一个应用程序崩溃的问题。除了IE之外,应用程序在所有浏览器上都能正常工作。在一些帖子中,我发现在polyfills.ts中取消了以下几行的注释
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';在注释完这些行之后,应用程序正在使用IE11.0.38 (KB203621)。但它在IE11.0.96 (KB4040685)上仍处于崩溃状态。浏览器本身在尝试加载应用程序时停止工作。
如果有人曾经遇到过这样的问题,请提供您的宝贵建议,以解决这一问题。
感谢和问候,
发布于 2017-10-26 10:04:19
IE11中不支持大多数ES6特性。
看看这个,https://kangax.github.io/compat-table/es6/有了一个想法
https://stackoverflow.com/questions/46948912
复制相似问题