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 stale · no recent hits
total hits 12
actors 5 distinct systems
last hit 20d ago ChatGPT-User
top countries 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/vite-plugin-barrel
compatibility /v1/registry/vite-plugin-barrel/compatibility