When get-own-property-symbols is included before core-js web.dom-collections.iterator, it causes ie11 to stack overflow.
This repo is a minimal reproduction of this error. To test, run:
npm install
npm run build
And then open ./dist/index.html
in ie11.
get-own-property-symbols is included within the
webcomponentsjs
polyfills for custom elements. To properly use it in an app, it needs to
be a script included in the head
of the document.
If that app also uses core-js, which it would if it is using
@babel/preset-env
with useBuiltIns:
'usage',
then it will cause a stack overflow in ie11.