Skip to content

Commit

Permalink
fix: remove 'web-animations-js' polyfill from host-app as it breaks t…
Browse files Browse the repository at this point in the history
…he app

This commit addresses issue #152 not to break the app, and is a workaround until angular/angular-cli#14518 is fixed.
  • Loading branch information
danielwiehl authored and simoneggler committed Jun 13, 2019
1 parent 9f0257b commit 2c55f2f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
import 'web-animations-js'; // Run `npm install --save web-animations-js`.

// TODO [Angular 8.X]:
// Importing 'web-animations-js' polyfill currently breaks the app.
// This problem is addressed in issue #152 and https://github.com/angular/angular-cli/issues/14518.
// Once fixed, 'web-animations-js' polyfill can be imported.

// import 'web-animations-js'; // Run `npm install --save web-animations-js`.

/**
* By default, zone.js will patch all possible macroTask and DomEvents
Expand Down

0 comments on commit 2c55f2f

Please sign in to comment.