vite-plugin-barrel

JSON →
library 0.4.1 ·javascript
verified Apr 27, 2026

Vite plugin to optimize barrel (re-export) file imports, improving build performance for packages with many exports like @mui/icons-material. Current stable version is 0.4.1, released monthly. Requires Vite ^5 and Node >=18. Uses SWC under the hood via swc-plugin-barrel; watch out for @swc/core version compatibility. Key differentiator: dedicated barrel-import optimization for Vite, inspired by Next.js optimizePackageImports, with integration support for @vitejs/plugin-react-swc.

total hits 13
actors 3 distinct systems
last hit 7d ago human
GPTBot
5
MetaBot
3
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇪 Sweden · PS · 🇸🇬 Singapore