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
I find your project pretty much invaluable and use it a lot. I'm just concerned about the file/icon import sizes. On importing just one icon into a component the Import Cost VS Code plugin informs me the import size is 1.8M (gzipped 213.5k). This is huge. Is it accurate?
Cheers,
Matt
The text was updated successfully, but these errors were encountered:
I've seen the same thing. If I create a new react app, include the package, the build size is 43.7kB and when I add a single icon to a component, the build size increases to 278kB. If I import the icon using "import CartOutline from 'react-ionicons/lib/CartOutline';" then the build size decreases down to 58.92kB, which is still a significant increase for a single icon. Is there another way to do this?
Hi,
I find your project pretty much invaluable and use it a lot. I'm just concerned about the file/icon import sizes. On importing just one icon into a component the Import Cost VS Code plugin informs me the import size is 1.8M (gzipped 213.5k). This is huge. Is it accurate?
Cheers,
Matt
The text was updated successfully, but these errors were encountered: