es5BrowserSupport add additional polyfill
Solution 1
For option es5BrowserSupport your @angular/cli required minimum version 7.3 and @angular-devkit/build-angular required minimum version 0.13 .
-
Check your
@angular/cliversion. if is less than7.3then run following commandng update @angular/cli -
Check your
@angular-devkit/build-angularversion. if is less than0.13then run following commandng update @angular-devkit/build-angular
Solution 2
Also you can edit angular.json file and find "es5BrowserSupport": true and comment it. It will also work without updating dependency