vite-plugin-babel-macros
JSON →Vite plugin that enables babel-plugin-macros support for using compile-time macros like twin.macro, styled-components/macro, or custom macros in Vite projects. Current stable version is 1.0.6, released infrequently as needed. Key differentiator: it bridges Vite's native ESM handling with babel macros, which Vite doesn't support out of the box. Note: v1.0.6 fixed ESM imports but broke Node <16; the author acknowledged it should have been a major release. Requires Vite >=2 and Node >=16.
Traffic · last 30 days ↓53% vs prev 7d
total hits 28
actors 6 distinct systems
last hit 4d ago human
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇮 Finland
Resources
API endpoints
compatibility /v1/registry/vite-plugin-babel-macros/compatibility