UNPKG

esbuild-envfile-plugin

Version:

esbuild plugin to load a .env file from the current directory or any parent. It will combine the environment variables with existing/system-wide process.env variables.

4 lines (3 loc) 111 B
const env = require('env'); console.log('node_env: ' + env.NODE_ENV); console.log('test: ' + env.TEST_VAR);