PixelogicDev / Gruvee-Mobile

#WeAreGrüvee
MIT License
48 stars 11 forks source link

[Enhancement] Change `dotenv` library to `babel-plugin-dotenv-import` #145

Open adilanchian opened 4 years ago

adilanchian commented 4 years ago

Is your feature request related to a problem? Please describe. We are currently using a dotenv package to handle our environment variables, but has a bit of a flaw that isn't great for us. It requires you to set all variables to some value even if you are not using them (ie prod env variables for dev stuff)

Describe the solution you'd like https://github.com/tusbar/babel-plugin-dotenv-import has seemed to be a better solution for us

Describe alternatives you've considered https://github.com/luggit/react-native-config is another one we could use, but seems like the above option is probably the way to go

This task should also include going in and updating the example env file in the README

adilanchian commented 4 years ago

@edburtnieks if you are interested in taking this on lemme know!

edburtnieks-private commented 4 years ago

@adilanchian I can take this issue :)

adilanchian commented 4 years ago

Assigned my friend 🤘 Cheers!

adilanchian commented 4 years ago

@all-contributors please add @edburtnieks for code and documentation

allcontributors[bot] commented 4 years ago

@adilanchian

I've put up a pull request to add @edburtnieks! :tada: