Commit 858a2a3
committed
fix(vite): add lucide-solid to vite optimizeDeps
The web app was failing to load lucide-solid when run in dev mode via
codespaces.
Claude said this:
> This is a common issue with icon libraries like lucide-solid in Codespaces.
> Vite serves each icon as an individual file from node_modules, and the
> Codespaces proxy can't handle the large number of parallel requests, causing
> them to fail.
> The fix is to tell Vite to pre-bundle lucide-solid so all icons get
> consolidated into a single bundled file instead of hundreds of individual
> requests.1 parent a9fb20b commit 858a2a3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments