-
-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too many requests in dev mode #1933
Comments
Possibly related to vitejs/vite#8237 |
Just a question: could we import a icon by |
@PeterlitsZo Hmm not possible at the moment. Solid currently requires to have a bundled ESM file. |
any news on this? having the same problem. |
I have the same problem. As soon I load one icon all icons are loaded in dev mode and my computer starts to struggle. |
Closing in favor of #1944 |
Package
Version
^0.336.0
Browser
Operating system
Description
When I am using
lucide-solid
in my SolidStart project, I find that in the dev mode, it will request too many requests and let me must wait for > 1min. (I develop it in the remote machine, which is an Linux machine, and using Chrome / Arc / Firefox to interact with the project)Here is the section of package.json of
lucide-solid
:It looks like it just using the "./dist/source/lucide-solid.js", which has bad performance when in development.
Steps to reproduce
lucide-solid
in any solid project.import { CheckCircle, Circle, Trash2 } from 'lucide-solid';
.Here I am using the SolidStart framework and Bun so you can:
Then you can install the
lucide-solid
and import it in any file.Checklist
The text was updated successfully, but these errors were encountered: