{"library":"webpack-env-loader-plugin","type":"library","category":null,"description":"A webpack plugin that extends DefinePlugin to load environment-specific configuration from files like config.{env}.json. It merges defaults (config.default.json) with environment-specific files and optionally loads local overrides and process.env values. The plugin exposes config under a global namespace (default: __CONFIG__) that webpack replaces at build time. It supports JSON and YAML config files. Version 1.0.0 is the latest stable release. Unlike dotenv or env-cmd, this plugin integrates directly into webpack's compilation process and can conditionally set React production mode via reactEnv option.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript"],"last_verified":"Sat May 09","install":[{"cmd":"npm install webpack-env-loader-plugin","imports":["const EnvLoaderPlugin = require('webpack-env-loader-plugin');","import EnvLoaderPlugin from 'webpack-env-loader-plugin';","const EnvLoaderPlugin = require('webpack-env-loader-plugin');"]},{"cmd":"yarn add webpack-env-loader-plugin","imports":[]},{"cmd":"pnpm add webpack-env-loader-plugin","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-env-loader-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}