Vite Plugin Lucide Preprocess
JSON →A Vite plugin (v1.4.10) that tree-shakes Lucide icons by transforming non-tree-shakable imports like `import { IconName } from '@lucide/svelte'` into explicit path imports like `import IconName from '@lucide/svelte/icons/icon-name'`. Supports Vite 2+, Rollup 1+, and Rolldown. Features an auto-updater to handle renamed or deprecated Lucide icons automatically. Ships TypeScript types. Compared to manual import rewriting, it automates the process and works across any framework (React, Vue, Svelte, etc.) with Vite.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 4 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · MY · 🇨🇦 Canada
Resources
API endpoints
compatibility /v1/registry/vite-plugin-lucide-preprocess/compatibility