title: How to change PublicPath for Create React App in Dev Environment
body: <p>I am using <a href="https://github.com/aspnet/templating" rel="noreferrer">Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-rc1-final</a> which internally uses <a href="https://github.com/facebook/create-react-app/" rel="noreferrer">Create-react-app</a> and <a href="https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices.Extensions/ReactDevelopmentServer" rel="noreferrer">AspnetCore.ReactDevelopmentServer</a></p>
  
  <p>My Dev. Environment is using IIS for hosting multiple api's say api1 as <a href="http://localhost/api1" rel="noreferrer">http://localhost/api1</a> and api2 as <a href="http://localhost/api2" rel="noreferrer">http://localhost/api2</a></p>
  
  <p><strong>Problem</strong> is if I host my React app from <a href="https://github.com/aspnet/templating" rel="noreferrer">Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-rc1-final</a> template to <a href="http://localhost/myApp" rel="noreferrer">http://localhost/myApp</a> - it expects the files are always served with PublicPath "/" and hence does not work. </p>
  
  <p>I know <a href="https://github.com/facebook/create-react-app/" rel="noreferrer">Create-react-app</a>'s Prod setup uses <a href="https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/config/webpack.config.prod.js#L27" rel="noreferrer">PublicPath</a> from <a href="https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/config/paths.js#L22" rel="noreferrer">PUBLIC_URL</a> or <a href="https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/config/paths.js#L36" rel="noreferrer">Homepage</a> from package.json. </p>
  
  <p>Is it possible to modify create-react-app setup to use a custom publicpath in Dev. environment?</p>