Polyfill-service: Where is the polyfill bundle for each browser

Created on 26 May 2017  Â·  14Comments  Â·  Source: Financial-Times/polyfill-service

Where is the compiled distribution for each browser?
At least we should have a compiled dist to choose from

Most helpful comment

Not sure if this is exactly what @drnkwati was wanting, but I'd love to have a downloadable, minified JS file with just the polyfills I need. This would assume I have a static list of polyfills I want, maybe the UI on the site would literally be a series of checkboxes for each of the polyfillable features (like Array.prototype.map) and clicking "download" would generate a .js file with just the checked polyfills (and each polyfill's license!) that I could self-host. Much like what jQuery UI does: http://jqueryui.com/download/

This would be excellent in settings where pinging an external CDN isn't possible (offline or intranet situations).

Realize that that only works for a static list of polyfills that are known ahead of time, but I'd find that useful.

All 14 comments

It is compiled on the fly based upon the polyfills you are requesting and which ones the users' browser actually require.

There is not way we can compile a list for this, as there are too many combinations to go through.

I was expecting atleast those listed on the table here
https://polyfill.io/v2/docs/features/
Bundle sizes have been stated.
We need those compiled atleast most developers polyfill due to ie issues
Thanks

We could calculate the size of the default bundle for the browsers listed on the features page, that is a nice idea :-)

We do that already in the bundle sizes section
On Fri, 26 May 2017 at 06:48, Jake Champion notifications@github.com
wrote:

We could calculate the size of the default bundle for the browsers listed
on the features page, that is a nice idea :-)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Financial-Times/polyfill-service/issues/1210#issuecomment-304286865,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp63-6QJhYgH8mxe1OPb1Ms025PZIoWks5r9tgqgaJpZM4NnfSD
.

So were is the build. I don't see download link to any of the minified or zipped files

What do you mean @drnkwati, I don't understand.

Here is the minified default bundle for IE 10 -- https://cdn.polyfill.io/v2/polyfill.min.js?ua=ie/10

Were are the links to those files. Or should we be searching on cdn.
Please just bundle a build or dist and place those links in this repository for easy accessibility.

I don't quite understand what you are wanting to achieve, could you please elaborate?

I don't want to depend on the cdn. I want an ie8 minified to bundle with my project
I want the app to be self contained with all required files.

@drnkwati it sounds like you should probably find a different solution. Good luck!

Not sure if this is exactly what @drnkwati was wanting, but I'd love to have a downloadable, minified JS file with just the polyfills I need. This would assume I have a static list of polyfills I want, maybe the UI on the site would literally be a series of checkboxes for each of the polyfillable features (like Array.prototype.map) and clicking "download" would generate a .js file with just the checked polyfills (and each polyfill's license!) that I could self-host. Much like what jQuery UI does: http://jqueryui.com/download/

This would be excellent in settings where pinging an external CDN isn't possible (offline or intranet situations).

Realize that that only works for a static list of polyfills that are known ahead of time, but I'd find that useful.

That will be cool.

You mean this? https://polyfill.io/v3/url-builder/

Creating it in a build process can be achived with: https://github.com/Financial-Times/polyfill-library

thank you very very much.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kentcdodds picture kentcdodds  Â·  5Comments

LeoIannacone picture LeoIannacone  Â·  7Comments

dy picture dy  Â·  8Comments

michapietsch picture michapietsch  Â·  6Comments

eek picture eek  Â·  6Comments