polyfill-library: Cannot redefine non-configurable property 'values' on <= IE11

I’ve included this before my bundle:

<script type='text/javascript' src='https://cdn.polyfill.io/v2/polyfill.min.js?features=default%2Ces6%2Cfetch&#038;ver=4.8.2'></script>

However, IE11 (and lower) crash on an error: image

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Experiencing the same issues in IE11 where the minified build doesn’t work.

This works fine: https://cdn.polyfill.io/v2/polyfill.js?features=es5,es6,es2016,es2017|gated&flags=gated&unknown=polyfill&callback=onPolyfillsLoad

This crashes: https://cdn.polyfill.io/v2/polyfill.min.js?features=es5,es6,es2016,es2017|gated&flags=gated&unknown=polyfill&callback=onPolyfillsLoad

with the error Cannot redefine non-configurable property 'values' in IE11

Nope. I recalled one site that I made and used polyfill.io, and it seems to be working.

I’ve since used Webpack & babel-polyfill for polyfilling.

This has been fixed in recent releases of polyfill.io and polyfill-library

bs_win10_ie_11 0 5

Hey guys. I’ve just faced the same issue.

It work fine for me on non-minified version, but I get the same error in .min.js version. This seems to be coming from es6 feature