vite-plugin-barrel
JSON →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.
Traffic · last 30 days ↓67% vs prev 7d
total hits 13
actors 3 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇪 Sweden · PS · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/vite-plugin-barrel