Is there a way to use `.env` file in Express without using dotenv package?

后端 未结 0 747
后悔当初
后悔当初 2020-12-15 20:11

Running an express server and loading variables from a bash-like file:

VAR1=VAL1
VAR2=VAL2
NODE_ENV=production
#etc

Seems to be easy enough t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题