babel-plugin-rewrite-require

JSON →
library 1.14.5 ·javascript
verified May 27, 2026

A Babel plugin that rewrites ES6 module imports and CommonJS require() calls using a simple alias map. Version 1.14.5 is stable with infrequent releases. Key differentiators: supports optional module blacklisting, non-string literal detection, and missing file handling. Unlike generic alias plugins, it is designed for React Native and browserify compatibility, enabling runtime exceptions for optional dependencies or missing files.

total hits 22
actors 7 distinct systems
last hit 3d ago Bingbot
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Search engines
3
Humans
1

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