config-webpack

JSON →
library 1.0.5 ·javascript maintenance
verified May 27, 2026

config-webpack (v1.0.5) is a Webpack plugin that bridges node-config into client-side bundles. It replaces global references (default `CONFIG`) with resolved config values via Webpack's DefinePlugin, supporting deployment-, instance-, local files, and environment variables. Compatible with Webpack 1–4 and node-config 1–3. Unlike runtime config solutions, it bakes config at build time, making it immutable and suitable for single-page apps. The plugin only injects referenced keys, but beware that top-level objects like `CONFIG` can leak the entire config even if gated behind a condition.

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

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