GlobeIcon
SVG is largest gzipped file in distributed library
#6142
Labels
Enhancement
An improvement on existing functionality with no modifications to the public API.
When importing just the basics of the Thirdweb SDK into a Next.js app
and analyzing the bundle via @next/bundle-analyzer, it shows that the single largest file in the gzipped distributed library is
GlobalIcon.js
(44Kb).It contains the
GlobeIcon
component, an SVG used only in the start screen of the connect wallet flow:I suggest considering dynamically importing it, hosting it remotely, or if it's not an official brand asset, changing to a less complex icon. Heroicons example is less than 1Kb:
The text was updated successfully, but these errors were encountered: