I'm using Webpack + Typescript + Babel with Babel-Loader. Config useBuiltIns: 'usage'
In my code I have some places where I use URLSearchParams. But it seems that Babel is not polyfilling UrlSearchParmas for IE11. I thought I do not worry about any polyfills with babel. (Other polyfills are working for IE11) Is that a normal behaviour or is there something wrong in my code?
I'm not importing anything on my files using URLSearchParams. Maybe babel can not recognize it for this reason?
I've asked the question directly on babel github page. corejs3 will include a polyfill for url search params. Somebody need to review the PR to update corejs3 in babel.
https://github.com/babel/babel/issues/9667
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With