Handling environment/configuration variables #128
Labels
enhancement
New feature or request
examples
Resolve by adding examples
good first issue
Good for newcomers
Hi!
First, thank you so much for putting this together!
I had a question, regarding environment (or configuration) values. Do you have recommendations on how to configure the build with different configuration values e.g. api endpoint?
Right now I can see that we can use
.env
files inside renderer, but there's no obvious way of using environment variables in the main process (as macos doesn't load env variables when you launch outside the command line).Perhaps something like this can be used when compiling the main code https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables?
Thanks in advance!
The text was updated successfully, but these errors were encountered: