babel-plugin-rewrite-require
JSON →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.
Traffic · last 30 days ↓57% vs prev 7d
total hits 22
actors 7 distinct systems
last hit 3d ago Bingbot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada
Resources
API endpoints
compatibility /v1/registry/babel-plugin-rewrite-require/compatibility