diff --git a/packages/stark-build/package.json b/packages/stark-build/package.json index 6c39036128..7e59f8617b 100644 --- a/packages/stark-build/package.json +++ b/packages/stark-build/package.json @@ -21,7 +21,6 @@ "dependencies": { "@angular-devkit/build-angular": "0.6.8", "@angular-devkit/build-optimizer": "0.6.8", - "@types/source-map": "0.5.7", "@types/uglify-js": "3.0.2", "@types/webpack": "4.4.5", "add-asset-html-webpack-plugin": "2.1.3", diff --git a/showcase/package.json b/showcase/package.json index 9aae51b9bc..0253c7f3b7 100644 --- a/showcase/package.json +++ b/showcase/package.json @@ -137,7 +137,6 @@ "reflect-metadata": "0.1.12", "rxjs": "6.2.1", "rxjs-compat": "6.2.1", - "web-animations-js": "2.3.1", "zone.js": "0.8.26" }, "devDependencies": { diff --git a/showcase/src/polyfills.browser.ts b/showcase/src/polyfills.browser.ts index a2bd5d34b8..6ce35574c7 100644 --- a/showcase/src/polyfills.browser.ts +++ b/showcase/src/polyfills.browser.ts @@ -49,13 +49,14 @@ import "event-source-polyfill"; import "eligrey-classlist-js-polyfill"; /** - * All but Chrome, Firefox and Opera require this to support Web Animations from - * `@angular/animations` and `@angular/platform-browser/animations`. - * See: http://caniuse.com/#feat=web-animation + * Web Animations polyfill is no longer needed for standard animation support as of Angular 6 + * IMPORTANT: It is only needed in case you use the AnimationBuilder from '@angular/animations' in the application * + * See: https://angular.io/guide/browser-support#optional-browser-features-to-polyfill + * See: http://caniuse.com/#feat=web-animation * Polyfill: https://github.com/web-animations/web-animations-js */ -import "web-animations-js"; +// import "web-animations-js"; /*************************************************************************************************** * Zone JS is required by Angular itself. diff --git a/starter/package.json b/starter/package.json index 3f710cd684..a30890df0c 100644 --- a/starter/package.json +++ b/starter/package.json @@ -136,7 +136,6 @@ "reflect-metadata": "0.1.12", "rxjs": "6.2.1", "rxjs-compat": "6.2.1", - "web-animations-js": "2.3.1", "zone.js": "0.8.26" }, "devDependencies": { diff --git a/starter/src/polyfills.browser.ts b/starter/src/polyfills.browser.ts index a2bd5d34b8..6ce35574c7 100644 --- a/starter/src/polyfills.browser.ts +++ b/starter/src/polyfills.browser.ts @@ -49,13 +49,14 @@ import "event-source-polyfill"; import "eligrey-classlist-js-polyfill"; /** - * All but Chrome, Firefox and Opera require this to support Web Animations from - * `@angular/animations` and `@angular/platform-browser/animations`. - * See: http://caniuse.com/#feat=web-animation + * Web Animations polyfill is no longer needed for standard animation support as of Angular 6 + * IMPORTANT: It is only needed in case you use the AnimationBuilder from '@angular/animations' in the application * + * See: https://angular.io/guide/browser-support#optional-browser-features-to-polyfill + * See: http://caniuse.com/#feat=web-animation * Polyfill: https://github.com/web-animations/web-animations-js */ -import "web-animations-js"; +// import "web-animations-js"; /*************************************************************************************************** * Zone JS is required by Angular itself.