esbuild-plugin-env
JSON →ESBuild plugin (v1.1.1, maintained) that loads environment variables using dotenv and makes them available via process.env at build time. Key differentiators: automatically sets NODE_ENV based on minify flag, provides PROD/DEV boolean constants, supports custom key prefix (default ESB_), and allows overriding production detection. Ships TypeScript types. Alternative to @jvdx/esbuild-plugin-env or manual define replacements.
Traffic · last 30 days ↓67% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 5d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-env