Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider removing polyfills #57

Closed
nsivertsen opened this issue Sep 3, 2018 · 0 comments · Fixed by #60 or #105
Closed

Consider removing polyfills #57

nsivertsen opened this issue Sep 3, 2018 · 0 comments · Fixed by #60 or #105

Comments

@nsivertsen
Copy link
Contributor

Maybe, for the upcoming 2.0 release, one could consider removing the fetch and Promise polyfills from prismic-javascript. They account for almost half of the bundle size. Both fetch and Promise have pretty good browser support by now, and most apps already have some kind of polyfill strategy in place (e.g. polyfill.io), meaning users are forced to download polyfills twice in many cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant