in order to reduce our bundle size. But when I analyze our bundle I see all the icons are loaded, which adds 850KB (unminified) to our production bundle.
We're using vite, and all icons use the named imports (so we're not importing the default feather-icons-react anywhere).
Should our bundle only include the icons we're importing?
I'm attempting to use named exports, like:
in order to reduce our bundle size. But when I analyze our bundle I see all the icons are loaded, which adds 850KB (unminified) to our production bundle.
We're using
vite
, and all icons use the named imports (so we're not importing the defaultfeather-icons-react
anywhere).Should our bundle only include the icons we're importing?