Skip to content

Commit a3a7750

Browse files
authored
Fix(@schematics/angular): correspond Fetch as Google
Fetch as Google (Google's bot checker) use ES5. So ES5 require polyfills (`Fetch as Google` need `core-js/es6/array` only ). I think that Angular needs a response to Google in order to become a PWA. thanks.
1 parent af415a2 commit a3a7750

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// import 'core-js/es6/math';
2929
// import 'core-js/es6/string';
3030
// import 'core-js/es6/date';
31-
// import 'core-js/es6/array';
31+
import 'core-js/es6/array';
3232
// import 'core-js/es6/regexp';
3333
// import 'core-js/es6/map';
3434
// import 'core-js/es6/weak-map';

0 commit comments

Comments
 (0)