Skip to content

Commit ba9c603

Browse files
dgp1130filipesilva
authored andcommitted
refactor(@schematics/angular): drop IE-only polyfills and drop versions from comment.
This removes polyfills only required on Internet Explorer since it is no longer supported (`web-animations-js`). Also updates the doc comment to leave specific versions unspecified, since they are already out of date and updating them now would just cause them to go out of date again in the future. Instead, users can visit the browser support guide to understand find the most up to date browser versions supported.
1 parent 000b0e5 commit ba9c603

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* file.
99
*
1010
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11-
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12-
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
11+
* automatically update themselves. This includes recent versions of Safari, Chrome (including
12+
* Opera), Edge on the desktop, and iOS and Chrome on mobile.
1313
*
1414
* Learn more in https://angular.io/guide/browser-support
1515
*/
@@ -18,13 +18,6 @@
1818
* BROWSER POLYFILLS
1919
*/
2020

21-
/**
22-
* Web Animations `@angular/platform-browser/animations`
23-
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
24-
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
25-
*/
26-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
27-
2821
/**
2922
* By default, zone.js will patch all possible macroTask and DomEvents
3023
* user can disable parts of macroTask/DomEvents patch by setting following flags

0 commit comments

Comments
 (0)