Angular 8应用程序在IE11中不起作用,但在Edge it';it’工作正常,如何修复它,最近我将我的应用程序从angular 7迁移到了angular 8

Angular 8应用程序在IE11中不起作用,但在Edge it';it’工作正常,如何修复它,最近我将我的应用程序从angular 7迁移到了angular 8,angular,angular8,Angular,Angular8,Angular 8应用程序在IE11中无法运行,但在Edge中运行良好。如何修复它,我最近将我的应用程序从Angular 7迁移到了Angular 8 我在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';

Angular 8应用程序在IE11中无法运行,但在Edge中运行良好。如何修复它,我最近将我的应用程序从Angular 7迁移到了Angular 8

我在
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';
 import 'core-js/es6/array';
 import 'core-js/es6/reflect';

还可以添加classlist和hammerjs,然后再试一次

import 'classlist.js';  // Run `npm install --save classlist.js`.
import 'hammerjs';

我有这个问题,但这是因为
ngserve
,如果我构建它,它会编译得很好。我认为这与angular 8使用es2015而不是es15有关,IE没有意识到这一点

请确保您已更改浏览器列表文件以支持IE11。它的可能副本可以工作,谢谢:),但您能解释一下原因吗?