Open MarArMar opened 6 months ago
Those are my vite.config.settings :
optimizeDeps: {
disabled: 'dev',
noDiscovery: true,
},
}
If I remove them, it only loads the necessary images, but the dependencies optimization step takes >40 seconds and I would like to skip it
dev: 19:38:36 [vite] ✨ optimized dependencies changed. reloading dev: 19:39:13 [vite] ✨ new dependencies optimized: @tabler/icons-svelte, lucide-svelte, radix-icons-svelte, sveltejs-tippy
Temporary fix :
Set to this version in package.json :
"@tabler/icons-svelte": "2.30.0",
Probably related to https://github.com/tabler/tabler-icons/issues/669
See my network tab on my dev server : 5k requests are made, the overwhelming majority for Icons I do not use (here I literally do not see a single one I use)
Versions tested : "@tabler/icons-svelte": "2.47.0", "@tabler/icons-svelte": "2.30.0",
With