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
{{ message }}
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.
This is definitely something that should be managed by Roc and this package is a good place.
We just need to do this correctly when adding this, a reason for us not adding it as of yet. What I mean with that we would optimally load polyfills on demand in clients that require them to avoid increasing the size in modern browsers.
There are several strategies on how to solve this some of which are mentioned in this article https://philipwalton.com/articles/loading-polyfills-only-when-needed. We could probably using the knowledge that Roc have about the application only add the needed checks needed to polyfill what is needed by the specific application.
On this topic we should also look into what we transpile using Babel and target the correct browsers, we can do this using https://github.com/babel/babel-preset-env potentially.
Older browsers require the
babel-polyfill
https://babeljs.io/docs/usage/polyfill/ – do you think it's this package's responsibility to solve this issue?The text was updated successfully, but these errors were encountered: