From 89351eba06ca37b0fc1f3702a0209083206501b9 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 2 Feb 2017 22:58:18 +0100 Subject: [PATCH] chore: include web animations polyfill in demo app (#2848) --- package.json | 3 ++- src/demo-app/index.html | 1 + src/e2e-app/index.html | 1 + tools/gulp/constants.ts | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d4b085ad4d7..52168725e1e 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,7 @@ "ts-node": "^2.0.0", "tslint": "^3.13.0", "typescript": "~2.0.10", - "uglify-js": "^2.7.5" + "uglify-js": "^2.7.5", + "web-animations-js": "^2.2.2" } } diff --git a/src/demo-app/index.html b/src/demo-app/index.html index d1af0dd454d..3099472c863 100644 --- a/src/demo-app/index.html +++ b/src/demo-app/index.html @@ -17,6 +17,7 @@ Loading... + diff --git a/src/e2e-app/index.html b/src/e2e-app/index.html index e5f49fcb893..e9ce94a3d3f 100644 --- a/src/e2e-app/index.html +++ b/src/e2e-app/index.html @@ -17,6 +17,7 @@ Loading... + diff --git a/tools/gulp/constants.ts b/tools/gulp/constants.ts index cfa0312cd00..b2811415da3 100644 --- a/tools/gulp/constants.ts +++ b/tools/gulp/constants.ts @@ -31,7 +31,8 @@ export const LICENSE_BANNER = `/** */`; export const NPM_VENDOR_FILES = [ - '@angular', 'core-js/client', 'hammerjs', 'rxjs', 'systemjs/dist', 'zone.js/dist' + '@angular', 'core-js/client', 'hammerjs', 'rxjs', 'systemjs/dist', + 'zone.js/dist', 'web-animations-js' ]; export const COMPONENTS_DIR = join(SOURCE_ROOT, 'lib');