SolidJSS
SolidJSโ€ข3y agoโ€ข
26 replies
Revxrsal

vite bundling unused components from external libraries (SSR)

o/ question, i'm using https://github.com/x64Bits/solid-icons for icons and while i really like it, it seems to be including icons that i'm not using in the final build. my website is SSR'd and deployed in vercel, and it's complaining that the render function is too big. is there anything i can do to make it exclude icons i am not using?
image.png
GitHub
The simplest way to use icons in SolidJS. Contribute to x64Bits/solid-icons development by creating an account on GitHub.
GitHub - x64Bits/solid-icons: The simplest way to use icons in SolidJS
Was this page helpful?