title: Changing Axios baseUrl accessible from env file after building React App
body: <p>Currently I am using .env file placed in react app root folder with variable</p>
  
  <blockquote>
    <p>REACT_APP_BASE_URL = <a href="http://localhost:8081" rel="nofollow noreferrer">http://localhost:8081</a></p>
  </blockquote>
  
  <p>I user axios defaults to set base url for api requests</p>
  
  <blockquote>
    <p>Axios.defaults.baseUrl = process.env.REACT_APP_BASEURL</p>
  </blockquote>
  
  <p>After building React App .env file is not considered and in case I have my base URL changed, how can I do that without re-building whole React App.
  I want to make base url independent, so I can dynamically change base url. What would be the best solution for that?</p>