Ross ROSS = Recommend OSS · open-source software intelligence for agents

mrsteele/dotenv-webpack

A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use. observed · 2026-08-28

github.com/mrsteele/dotenv-webpack · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 71
  • Release rhythm 42
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 254
  • age_days: 3683
  • days_rel: 179
  • days_push: 179
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1295 stars · 75 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A webpack plugin that wraps dotenv and DefinePlugin to inject environment variables into your bundle at build time. It only exposes variables explicitly referenced in your code, keeping unreferenced secrets out of the final bundle.

Use cases

  • inject environment variables into a webpack bundle
  • keep .env secrets out of client-side JavaScript
  • replace process.env references at build time
  • use dotenv with webpack without leaking unused variables
  • manage per-environment config for a frontend build

When to choose

  • you build with webpack and want dotenv support
  • you need selective exposure of env vars for security
  • you want minimal configuration for env handling in bundles

When to avoid

  • you use Vite, esbuild, or another bundler with native env support
  • you need runtime (server-side) environment variable loading rather than build-time replacement
  • you need to expose all env vars to the bundle

Facets

plugin · maturity active

configuration-management security build-tool plugin-system web-development frontend developer-tools security webpack-plugin dotenv environment-variables bundler twelve-factor nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
mrsteele/dotenv-webpackmain67

For agents

markdown · JSON · MCP: product_card(name="mrsteele/dotenv-webpack")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem