From 874919a25b0d00b88f9fb77ec55f0edb5b88b8c0 Mon Sep 17 00:00:00 2001 From: WilliamKoza Date: Mon, 4 Feb 2019 15:17:42 +0100 Subject: [PATCH] fix(docs-infra): remove polyfill web-animations since we use Angular > 6 and we don't use `AnimationBuilder` (#28514) PR Close #28514 --- aio/package.json | 1 - aio/src/ie-polyfills.js | 4 ++-- aio/yarn.lock | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/aio/package.json b/aio/package.json index 490502a03d..a6f26cc8ee 100644 --- a/aio/package.json +++ b/aio/package.json @@ -93,7 +93,6 @@ "core-js": "^2.4.1", "rxjs": "^6.3.0", "tslib": "^1.9.0", - "web-animations-js": "^2.2.5", "zone.js": "^0.8.26" }, "devDependencies": { diff --git a/aio/src/ie-polyfills.js b/aio/src/ie-polyfills.js index 83bd30af94..fd7bf38752 100644 --- a/aio/src/ie-polyfills.js +++ b/aio/src/ie-polyfills.js @@ -17,5 +17,5 @@ import 'core-js/es6/set'; /** IE10 and IE11 requires the following for NgClass support on SVG elements */ import 'classlist.js'; -/** IE10 and IE11 requires the following to support `@angular/animation`. */ -import 'web-animations-js'; +/** Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. */ +// import 'web-animations-js'; diff --git a/aio/yarn.lock b/aio/yarn.lock index 7c19646053..00857867ca 100644 --- a/aio/yarn.lock +++ b/aio/yarn.lock @@ -10623,10 +10623,6 @@ wbuf@^1.1.0, wbuf@^1.7.3: dependencies: minimalistic-assert "^1.0.0" -web-animations-js@^2.2.5: - version "2.3.1" - resolved "https://registry.yarnpkg.com/web-animations-js/-/web-animations-js-2.3.1.tgz#3a6d9bc15196377a90f8e2803fa5262165b04510" - web-namespaces@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.2.tgz#c8dc267ab639505276bae19e129dbd6ae72b22b4"