Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some pages are blank with IE 11 #1

Closed
amarnathm opened this issue Aug 9, 2018 · 1 comment
Closed

Some pages are blank with IE 11 #1

amarnathm opened this issue Aug 9, 2018 · 1 comment

Comments

@amarnathm
Copy link
Collaborator

No description provided.

@amarnathm
Copy link
Collaborator Author

The default settings generated by Angular CLI in src/polyfills.ts had the following stuff commented out. With the comments removed, it mostly works -- but see at the end.

/** 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';

/** IE10 and IE11 requires the following for NgClass support on SVG elements */
import 'classlist.js'; // Run npm install --save classlist.js.

/** IE10 and IE11 requires the following for the Reflect API. */
import 'core-js/es6/reflect';

Following this, there was still a residual issue. It was removed by adding the following, see angular/angular-cli#4128

import 'core-js/es7/array';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant