All your envs in a row ๐Ÿฆ†๐Ÿฆ†๐Ÿฆ†

1 ยท Remy Sharp ยท April 24, 2019, midnight
If you've used Zeit's Now platform you'll know to get your environment values readable by your code, you have to jump a few hoops. There are solutions in place, you can put your environment values in a now.json file and you can use the zeit/now-env to read the values during dev, but I'm not a fan. My preference is to use .env files and split across .env.local, .env.production etc (which as it happens goes against the Twelve-Factor App manifesto - but that's my choice). So here's a command that m...