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 Apr 28, 2022. It is now read-only.
Rebuilding analytics-integrations with only two plugins (google analytics and kissmetrics) analytics.min.js is still a little bit over 100KB. Is that correct? Am I missing a way to reduce its size? If not, isn't that huge for a performance sensitive website?
The text was updated successfully, but these errors were encountered:
Haven't tried the build with those specific two, but gzipped it's probably ~20k, which shouldn't mean much of anything if you're loading it async. And if you're using the hosted version we automatically strip out the unnecessary integrations for you and load async so you never have to worry about that stuff.
There's also an aliasing fix related to this component builder thread that will remove the need for the verbose require aliases in the built file, and get size down even more as soon as it makes it into core.
@reinpk, this is something we're waiting on component builder for at the moment. If you use component, you can also take advantage of shared components by packaging analytics.js with your entire build, so there's no wasted space!
Rebuilding analytics-integrations with only two plugins (google analytics and kissmetrics) analytics.min.js is still a little bit over 100KB. Is that correct? Am I missing a way to reduce its size? If not, isn't that huge for a performance sensitive website?
The text was updated successfully, but these errors were encountered: