You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting "es5BrowserSupport": true in angular.json I get errors in IE 11 because it does not recognize .includes() TypeError: Object doesn't support property or method 'includes'
This issue below gave the original workaround, perhaps now that it is in a conditional polyfill we can add it by default. #4128
Describe the solution you'd like
Add the following polyfill to the Conditional ES5 Browser Polyfill so that .includes() works with IE 11 import 'core-js/es7/array';
Describe alternatives you've considered
I can keep import 'core-js/es7/array'; in the main polyfill file, but it is not needed by other browsers
The text was updated successfully, but these errors were encountered:
🚀 Feature request
Command (mark with an
x
)Description
When setting "es5BrowserSupport": true in angular.json I get errors in IE 11 because it does not recognize .includes()
TypeError: Object doesn't support property or method 'includes'
This issue below gave the original workaround, perhaps now that it is in a conditional polyfill we can add it by default.
#4128
Describe the solution you'd like
Add the following polyfill to the Conditional ES5 Browser Polyfill so that .includes() works with IE 11
import 'core-js/es7/array';
Describe alternatives you've considered
I can keep
import 'core-js/es7/array';
in the main polyfill file, but it is not needed by other browsersThe text was updated successfully, but these errors were encountered: