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
Does anyone here know how to handle a large bundle size, mainly caused by react-icons? I want to use Flowbite to build small components for some HTML websites, but it seems that Webpack can't extract only the Flowbite components that are actually used (mostly buttons and form elements). Instead, it's including almost everything (the whole Flowbite library and entire sets of MD/FA icons, which make up about 75% of the bundle size).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does anyone here know how to handle a large bundle size, mainly caused by react-icons? I want to use Flowbite to build small components for some HTML websites, but it seems that Webpack can't extract only the Flowbite components that are actually used (mostly buttons and form elements). Instead, it's including almost everything (the whole Flowbite library and entire sets of MD/FA icons, which make up about 75% of the bundle size).
Beta Was this translation helpful? Give feedback.
All reactions