title: How to configure ASP.NET Core static files to change based on Environments (prod vs dev)?
body: <p>I have a ang2, VS 2015, ASP.NET 4.6.1 project going but it's a non-mvc. So I don't have access to the <code>&lt;environment&gt;</code>. Using gulp as well, so that can be used as part of the solution.</p>
  
  <p>How can I configure the static files, like index.html to use the minified version of files? Currently I'm using gulp to do the work.</p>
  
  <p>I took a look at this but it's for MVC projects. <a href="https://docs.asp.net/en/latest/fundamentals/environments.html" rel="nofollow">https://docs.asp.net/en/latest/fundamentals/environments.html</a></p>
  
  <p><strong>Update</strong>:</p>
  
  <p>Example:</p>
  
  <p>How would I get Index.html in the wooroot folder to point to non-minified scripts in development but then point to minified version in production? Just like in the example in the url. When using MVC you can do  to have it swap out code.   Without MVC it doesn't seem to be possible. </p>