babel-plugin-add-import-extension

JSON →
library 1.6.0 ·javascript
verified May 27, 2026

A Babel plugin that automatically adds file extensions to import and export specifiers for local modules, useful when using TypeScript with Babel and not writing explicit extensions in source files. Version 1.6.0 is the latest stable release, updated occasionally. It defaults to adding .js extension, with options to specify custom extension, replace existing extensions, and configure observed script extensions. Differentiates itself by focusing solely on extension addition without other transforms.

total hits 30
actors 8 distinct systems
last hit 17h ago AhrefsBot
Amazonbot
4
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Search engines
1
Humans
7

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