vite-plugin-babel-macros

JSON →
library 1.0.6 ·javascript
verified May 27, 2026

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.

total hits 28
actors 6 distinct systems
last hit 4d ago human
GPTBot
5
ByteDance
5
MetaBot
4
Script
1
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇮 Finland