Preparing for system design interviews?  Try bugzed.com →

babel-plugin-inline-constants

JSON →
library 5.0.0 ·javascript
verified Jun 17, 2026

Babel plugin (v5.0.0) to inline constant values from imported modules. Supports ESM (import) and CJS (require). Evaluates specified modules with Node to retrieve primitive values (numbers, strings, booleans, null) and replaces references directly in code for better gzip compression. TypeScript types included, ESM-only, Node 18+. Similar to babel-plugin-transform-define but focuses on module-exported constants.

total hits 14
actors 4 distinct systems
last hit 18d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1

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