babel-plugin-module-extension-resolver

JSON →
library 1.0.0 ·javascript
verified May 27, 2026

Babel plugin that resolves and maps module extensions in import/require statements. Version 1.0.0 is the latest stable release, with maintenance releases planned when necessary. It transforms extensionless imports to explicit extensions (e.g., './dir/lib' -> './dir/lib.js'), configurable via srcExtensions, dstExtension, and extensionsToKeep options. Unlike babel-plugin-extension-resolver, it supports TypeScript, dynamic imports, and export from syntax. Works with CommonJS and ES modules.

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

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