Preparing for system design interviews?  Try bugzed.com →

babel-preset-vite

JSON →
library 1.1.3 ·javascript
verified Jun 17, 2026

A Babel preset that emulates Vite's non-standard functionality in non-Vite environments, primarily for testing with Node.js-based runners. Version 1.1.3 (stable) includes three plugins: babel-plugin-transform-vite-meta-env (import.meta.env), babel-plugin-transform-vite-meta-glob (import.meta.glob), and babel-plugin-transform-vite-meta-hot (import.meta.hot). Each plugin can be individually disabled via preset options. The preset ships TypeScript types and follows a monthly release cadence with bug fixes. Key differentiator: allows code using Vite-specific features to run in Jest or other Node.js test runners without modification.

total hits 15
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
ByteDance
2
Script
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · BD