Skip to content

Commit 7026eee

Browse files
mhartingtonmgechev
authored andcommitted
docs(@schematics/angular): add note about older chrome in polyfills
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.
1 parent 6f5fbcc commit 7026eee

File tree

1 file changed

+4
-8
lines changed
  • packages/schematics/angular/application/files/src

1 file changed

+4
-8
lines changed

packages/schematics/angular/application/files/src/polyfills.ts

+4-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
* BROWSER POLYFILLS
1919
*/
2020

21-
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
21+
/** IE9, IE10, IE11, and Chrome <55 requires all of the following polyfills.
22+
* This also includes Android Emulators with older versions of Chrome and Google Search/Googlebot
23+
*/
24+
2225
// import 'core-js/es6/symbol';
2326
// import 'core-js/es6/object';
2427
// import 'core-js/es6/function';
@@ -34,13 +37,6 @@
3437
// import 'core-js/es6/weak-map';
3538
// import 'core-js/es6/set';
3639

37-
/**
38-
* If the application will be indexed by Google Search, the following is required.
39-
* Googlebot uses a renderer based on Chrome 41.
40-
* https://developers.google.com/search/docs/guides/rendering
41-
**/
42-
// import 'core-js/es6/array';
43-
4440
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
4541
// import 'classlist.js'; // Run `npm install --save classlist.js`.
4642

0 commit comments

Comments
 (0)