Vite Plugin Babel Import
JSON →A Vite plugin that transforms component library imports from named imports to individual path imports, automatically appending CSS imports. Version 2.0.5 is the current stable release. It mimics babel-plugin-import behavior in the Vite ecosystem, supporting libraries like Vant, Element Plus, and Ant Design Vue. The plugin operates as a Babel plugin during Vite's transform phase, offering configuration for library directory and style path customization. Compared to manual tree-shaking or full imports, it provides automatic granular imports without additional build configuration.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 4 distinct systems
last hit 17d ago ByteDance
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇨🇳 China
Resources
API endpoints
compatibility /v1/registry/vite-plugin-babel-import/compatibility