Dotenv Plugin for Webpack

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

A webpack plugin that uses dotenv-safe to load environment variables from a .env file and make them available as process.env replacements during the webpack build. Version 2.1.0 requires webpack >=1.13.0 as a peer dependency. It supports custom paths for .env and sample files, respects externally set environment variables, and fixed a deprecation warning for webpack 4.x. Unlike other dotenv-webpack plugins, this one uses dotenv-safe to ensure required variables are defined. Release cadence is irregular; last update was in 2018.

total hits 24
actors 6 distinct systems
last hit 3d ago human
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
Humans
6

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · VN · PH