You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Maybe, for the upcoming 2.0 release, one could consider removing the
fetch
andPromise
polyfills fromprismic-javascript
. They account for almost half of the bundle size. Bothfetch
andPromise
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.The text was updated successfully, but these errors were encountered: