dotenv-run icon indicating copy to clipboard operation
dotenv-run copied to clipboard

Validate .env schema using `dotenv-extended` package

Open akshay-sf opened this issue 4 years ago • 1 comments

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.

akshay-sf avatar Sep 27 '21 12:09 akshay-sf

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.

chihab avatar Sep 28 '21 07:09 chihab