Which environment variables do we want to expose in configuration? #2231
|
Let's discuss what env variables we want to add to our Modular configuration in v4. @AlbertoBrusa has identified an exhaustive list of all ENV variables we read in Modular as part of this PR - #2227 We believe that only things that affect build/production should be configurable by file, while the rest should only be ENV_VARIABLES
|
Replies: 5 comments 4 replies
|
To start off the discussion, I feel like anything that users might expect to be configurable coming from CRA should easily be configurable in modular through the config: |
|
|
|
@AlbertoBrusa look for variables that are determined by destructuring const { SSL_CRT_FILE, SSL_KEY_FILE, HTTPS } = process.env; |
|
|
|
Finalised list of configuration options we want to expose via a configuration file:
|
Finalised list of configuration options we want to expose via a configuration file: