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 ↑20% vs prev 7d
total hits 28
actors 8 distinct systems
last hit 1d ago Amazonbot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇮 Finland · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/vite-plugin-babel-import/compatibility