esbuild-envfile-plugin
JSON →An esbuild plugin that automatically loads environment variables from a .env file (found in the current directory or any parent) and merges them with existing process.env variables. The .env variables are made available to the bundled code via ESM imports from the virtual module 'env'. This plugin version 1.0.7 is stable and leverages the dotenv package for parsing (not added to user's project). It differentiates by providing a simple, zero-config solution for esbuild bundling, unlike the more general dotenv or @rollup/plugin-dotenv which require explicit setup. Installation requires esbuild and dotenv as dev dependencies.
Traffic · last 30 days ↓67% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 4d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada
Resources
API endpoints
full doc /v1/registry/esbuild-envfile-plugin