Preparing for system design interviews?  Try bugzed.com →

babel-plugin-inline-json

JSON →
library 2.1.0 ·javascript
verified Jun 17, 2026

A Babel plugin that inlines values from JSON files (e.g., config files) at build time, replacing require() calls to matched files with the actual JSON values. Current stable version is 2.1.0, with infrequent releases. Key differentiator: simple static replacement without runtime overhead, but does not work if the require argument is an identifier or template literal. Alternative to Webpack's DefinePlugin for Babel-only workflows.

total hits 13
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France