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 Aug 13, 2024. It is now read-only.
This is repeated 126 times (once for every version of the component). Let's please exclude this polyfill as most users will have their own and we can save ~35KB of JS.
The text was updated successfully, but these errors were encountered:
We include polyfill.io's default polyfills in the Guide Page template and the Cart Page template. There might be a few one-off places in the app that don't use one of those templates. Maybe we should move it somewhere more global?
There might be a few one-off places in the app that don't use one of those templates
I doubt there's anyplace we use react that doesn't include the polyfill include. At the very least, the polyfills shouldn't need to be copied in every single icon.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now the compiled react form of each of these icons includes the
Object.assign()
polyfill (about 300 bytes).See: https://unpkg.com/browse/@core-ds/[email protected]/24/AlertTriangle.js
This is repeated 126 times (once for every version of the component). Let's please exclude this polyfill as most users will have their own and we can save ~35KB of JS.
The text was updated successfully, but these errors were encountered: