The JSS team have an answer here which outlines how to use environment variable and a .env file to move JSS config out of code. However, you still need to build the application and the environment variables of the build will be used.
Mark Gibbons
- 5.7k
- 1
- 19
- 61