dotenv-run
dotenv-run copied to clipboard
Validate .env schema using `dotenv-extended` package
Hi @chihab,
I was reading through in-depth articles and got to see your article. I was interested since my team has done a similar thing in the angular app but seems like it's a kind of more makeshift. So I read the article and was fascinated by the way you explain via DefinePlugin.
I cloned the repo and wanted to contribute to validating the .env file schema via the dotenv-extended package. I tried to dig around this library and did changes, but seems like this couldn't work for me. If you think this is possible to implement, then I think you could help me in contributing and understand some quirky parts which I'm not able to grab.
Thanks.
Hey @akshay-sf,
Thanks a lot for you feedback!
I haven't read the docs enough but it seems that dotenv-extended imposes some rules on your .env files which might not be suitable for everyone. I'll take a look at the package and see if it is possible to get it as an optional feature.