config-webpack
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 18d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/config-webpack
compatibility /v1/registry/config-webpack/compatibility