Babel Plugin Transform Vite Meta Hot

JSON →
library 1.0.0 ·javascript
verified May 27, 2026

A Babel plugin that emulates Vite's import.meta.hot API for non-Vite environments, primarily used in test runners like Jest or Mocha. Version 1.0.0 is the initial stable release (January 2023), with no subsequent updates. It transforms import.meta.hot calls into module.hot equivalents, enabling HMR-like code to run in Node.js. Unlike full Vite presets, this is a focused plugin for HMR simulation only. It ships TypeScript type definitions and is part of the babel-vite suite.

total hits 21
actors 8 distinct systems
last hit 2d ago AhrefsBot
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Amazonbot
1
Search engines
1
Humans
1

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