Preparing for system design interviews?  Try bugzed.com →

vite-plugin-import

JSON →
library 0.4.0 ·javascript
verified Jun 18, 2026

Component modular import plugin for Vite (v0.4.0, last updated 2021). Converts named imports like `import { Button } from 'antd'` into path-level imports (e.g., `antd/lib/button`) to reduce bundle size, leveraging babel-plugin-import under the hood. Works primarily in build mode by default. Requires Vite 2. Note that tree-shakable libraries (like antd) do not need this plugin, as Vite handles unused code removal. Faster than combining `@rollup/plugin-babel` with babel-plugin-import, but limited to import transformation only.

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

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