Preparing for system design interviews?  Try bugzed.com →

Vite Plugin Lucide Preprocess

JSON →
library 1.4.10 ·javascript
verified Jun 18, 2026

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.

total hits 16
actors 4 distinct systems
last hit 16d ago AhrefsBot
ByteDance
5
ClaudeBot
3
Script
1
Humans
4

top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · MY · 🇨🇦 Canada