A webpack plugin that replaces all instances of `process.env.***` with actual environment variable values at build time. Current stable version is 1.2.1, with infrequent releases. Key features: inline all environment variables by default, select specific variables using string/object/array config, or define static values. No runtime dependencies. Simpler alternative to webpack's DefinePlugin for basic env inlining, but limited to environment variables only and primarily intended for development/debugging use cases. Last updated in 2017.
npm install inline-environment-variables-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Basic usage: instantiate plugin without config to replace all process.env.* calls with actual environment values at build time.
Upgrade to v1.2.1 (npm install inline-environment-variables-webpack-plugin@latest) and rename imports to `InlineEnvironmentVariablesPlugin`.
Use webpack's DefinePlugin or EnvironmentPlugin for complex value replacement.
Use webpack.EnvironmentPlugin or @maika/env-development or dotenv-webpack instead.
Ensure all referenced env vars are set; use config object to provide defaults.
Run `npm install --save-dev inline-environment-variables-webpack-plugin` and check import path.
Use `const InlineEnvironmentVariablesPlugin = require('inline-environment-variables-webpack-plugin');`Add `new InlineEnvironmentVariablesPlugin()` to the plugins array in webpack.config.js.
No dependency data recorded yet.