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
Set up Babel to automatically add polyfills for unsupported browser APIs.
Ideally, unsupported code should be replaced with "pure" polyfills (ponyfills) that do not modify browser globals.
Why
This issue follows on from #3504 and is only needed when we choose to use a browser API unavailable in .browserlistrc supported browsers
Polyfill code should not cause parsing or syntax errors. Since feature detection can guard against code we choose not to run, unsupported browser APIs don't have to be polyfilled.
What
Set up Babel to automatically add polyfills for unsupported browser APIs.
Ideally, unsupported code should be replaced with "pure" polyfills (ponyfills) that do not modify browser globals.
Why
This issue follows on from #3504 and is only needed when we choose to use a browser API unavailable in
.browserlistrc
supported browsersPolyfill code should not cause parsing or syntax errors. Since feature detection can guard against code we choose not to run, unsupported browser APIs don't have to be polyfilled.
This will be done with caution while keeping an eye on the impact of the polyfills on the size of the built files.
Who needs to work on this
Developers
Who needs to review this
Developers
Depends on
Done when
The text was updated successfully, but these errors were encountered: