build(docs-infra): remove obsolete ie-polyfills.js (#29926)

Now that defferential loading it supported by the cli, remove the
obsolete `ie-polyfills.js` (and associated dependencies).

All polyfills in `ie-polyfills.js` are now included in the
[polyfills-es5][1] bundle, except for `classlist.js`, that is only
needed in order to support `NgClass` on SVG elements, which we don't
use.

[1]: https://github.com/angular/angular-cli/blob/b95933a57/packages/angular_devkit/build_angular/src/angular-cli-files/models/es5-polyfills.js

PR Close #29926
This commit is contained in:
George Kalpakas
2019-04-24 15:27:23 +03:00
committed by Andrew Kushnir
parent 6c1ae294dc
commit 2002db28ff
8 changed files with 51 additions and 139 deletions

View File

@ -24,7 +24,7 @@ describe('ServiceWorker navigation URLs', () => {
it('should treat URLs to files with extensions as non-navigation URLs', () => {
expect(isNavigationUrl('/generated/zips/animations/animations.zip')).toBeFalsy();
expect(isNavigationUrl('/generated/images/guide/animations/animation_auto.gif')).toBeFalsy();
expect(isNavigationUrl('/generated/ie-polyfills.min.js')).toBeFalsy();
expect(isNavigationUrl('/generated/ngsw-worker.js')).toBeFalsy();
expect(isNavigationUrl('/generated/docs/guide/animations.json')).toBeFalsy();
});