The Angular CLI provides support for polyfills officially. When you create a new project with the ng new command, a
bash npm install --save web-animations-jsand create import statement in polyfill file.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.