Angular application does not run locally in IE?

0

Following the Internet Explorer v.11 error :

DETAIL: In other browsers ( Chrome and Firefox ) it works (wheel / load).

    
asked by anonymous 20.05.2018 / 01:27

1 answer

1

According to this answer you have to uncomment the file polyfills.ts by default inside the src folder

/***************************************************************************************************
 * BROWSER POLYFILLS
 */

/** 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/set';
    
22.05.2018 / 13:57