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 stale · no recent hits
total hits 15
actors 5 distinct systems
last hit 17d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/babel-plugin-rewrite-require/compatibility