The application runtime should not depend on the environment, but the configuration should. If you've ever written the following code, this post is for you:
function doSomething(){
if (process.env.NODE_ENV === "development"){
return { foo: 1 };
}
return { foo: 2 };
}
Why Is That A Problem?
Once you