babel-plugin-module-resolver

JSON →
library 5.0.3 ·javascript
verified May 27, 2026

A Babel plugin that allows custom module resolution by defining root directories and aliases, eliminating deep relative imports like '../../../../utils'. It simplifies import/require paths for cleaner code. Current stable version is 5.0.3 (July 2024). Release cadence is irregular, with major version bumps occasionally (v4 in 2020, v5 in 2023). Key differentiators: supports both import and require, works with Babel 7+, and integrates with ESLint via eslint-import-resolver-babel-module for linting. Alternative: TypeScript's paths in tsconfig.json but this plugin works for plain JavaScript/Babel projects.

total hits 42
actors 7 distinct systems
last hit 1d ago AhrefsBot
ByteDance
4
MetaBot
4
GPTBot
2
Script
1
Search engines
1
Humans
5

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