Best way to use env files for Mac and Windows?
I am using typescript gen to create the types for me using contentful from package json.
Now I understand that Unix based systems can have access to it but I don't want to leak keys.
What's the best way to do this?
2 Replies
not really sure what you're asking.
.env
files are intended to be recreated on each new environment, because (as the name implies) they're supposed to contain environment dependent variables. That can include keys, for sure.
Generated types have very little to do with .env files though?@Jochem there is a way to read variables from a json file I believe
I'll close this thread