Re:Node.js 20.6.0 will include built-in support for .env files
by zeroimpl on Saturday August 19, 2023 @01:34PM
(#37191102)
If your env file is a script that you source manually, I’d call it env.sh instead.
Historically this has been my approach, but in production environments it’s convenient to have a static list of variables with no “export” instead since eg systemd’s EnvironmentFile only supports that.
Historically this has been my approach, but in production environments it’s convenient to have a static list of variables with no “export” instead since eg systemd’s EnvironmentFile only supports that.