Skip to content

Commit

Permalink
docs(@schematics/angular): add note about older chrome in polyfills
Browse files Browse the repository at this point in the history
Add note about polyfills being required in older chrome environments.
Addresses confusion seen in Ionic projects that are loaded in an Android
5 emulator, but has chrome 37.
  • Loading branch information
mhartington authored and mgechev committed Dec 13, 2018
1 parent 6f5fbcc commit 7026eee
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/schematics/angular/application/files/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
* BROWSER POLYFILLS
*/

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
/** IE9, IE10, IE11, and Chrome <55 requires all of the following polyfills.
* This also includes Android Emulators with older versions of Chrome and Google Search/Googlebot
*/

// import 'core-js/es6/symbol';
// import 'core-js/es6/object';
// import 'core-js/es6/function';
Expand All @@ -34,13 +37,6 @@
// import 'core-js/es6/weak-map';
// import 'core-js/es6/set';

/**
* If the application will be indexed by Google Search, the following is required.
* Googlebot uses a renderer based on Chrome 41.
* https://developers.google.com/search/docs/guides/rendering
**/
// import 'core-js/es6/array';

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

Expand Down

0 comments on commit 7026eee

Please sign in to comment.