Polyfill-service: Polyfill Array.find is not served in IE11

Created on 25 Aug 2017  路  7Comments  路  Source: Financial-Times/polyfill-service

As per title.
Thanks

All 7 comments

https://cdn.polyfill.io/v2/polyfill.js?features=default,es6&ua=Mozilla/5.0%20(Windows%20NT%206.3;%20Trident/7.0;%20rv:11.0)%20like%20Gecko

it is, did you required it ?

I'm using defaults TBH

Array.prototype.find is not in the default set, if you require it, please add it to the features list in your polyfill.io script call

Thanks!

How can I add all the polyfill in one require ?

@JakeChampion He was asking how to get the "kitchen sink" of polyfills for a browser. It too am looking for that.

See https://polyfill.io/v2/docs/api:

Setting the value "all" will select every feature in the library (this is an extremely bad idea and will be removed in a future version)

Please don't use 'all'. Today that will deliver a bundle of up to 25MB in size, and you should assume that in future it might deliver new features in WASM modules which might be even larger. Basically if you set 'all' today and forget about it, you should assume that the file will grow to 1GB+ in future.

Was this page helpful?
0 / 5 - 0 ratings