Comment by jpsimons 11 days ago Sure, but at least on Node 22 I think I have to pass `--env-file=.env` option to make it pick up .env. 3 comments jpsimons Reply afavour 11 days ago Certainly true but there’s a line between “better DX” and… well, kinda laziness traderj0e 11 days ago Yeah I don't want it to silently read magic config files AbuAssar 11 days ago There is also 1 line to load .env in node without passing an argument
afavour 11 days ago Certainly true but there’s a line between “better DX” and… well, kinda laziness traderj0e 11 days ago Yeah I don't want it to silently read magic config files
Certainly true but there’s a line between “better DX” and… well, kinda laziness
Yeah I don't want it to silently read magic config files
There is also 1 line to load .env in node without passing an argument