How would I add polyfill for String.repeat method for ie11? I am not using it directly in my code, it's probably some of the imported libs.
In IE console I get this error: Object doesn't support property or method 'repeat'
I also get 'AbortController' is undefined
which I am also not using my code, probably external lib again.
I am using create react app and I imported in index.js:
import 'react-app-polyfill/ie9';
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';
I tried adding https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat#Polyfill to my index.js but it didn't do anything.
Did anyone else have similar problem?