Each team member on the project is using a different devURL, so what is the best way to solve this?
Adding config.json to the gitignore list? There has to be a better way?
Each team member on the project is using a different devURL, so what is the best way to solve this?
Adding config.json to the gitignore list? There has to be a better way?
One idea you could use is to make a config.local.json
, add it to .gitignore
modify the webpack config to look for it first. If it can’t find it, then use config.json
.
That way, you can use your local config without messing up your teams setup.
Best solution would be just to agree on a naming convention for devURL with your team.