title: @Scripts.Render() <script> tag links to a Html source code page, and scripts are not detected
body: <p>Here is where i include the ScriptBundle:</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/scripts").Include(
                      "~/Scripts/jquery.js", "~/Scripts/popper.js",
                      "~/Scripts/bootstrap.js", "~/Scripts/Index.js"));
  </code></pre>
  
  <p>When i debbug the application the script tags are rendered separately, and it works well. The problem is when i publish the project, the scripts are rendered in a single tag; i know that AspNet compress all the scripts in a single tag, but the web page does not detect the scripts and when i click on the link of the rendered  tag, it directs me to a source code page (HTML) in which the scripts should be.</p>
  
  <p>This is the  tag:</p>
  
  <pre><code>&lt;script src="/scripts?v=r8NL2JoYrRk4WG4L8aUu1037yymdncGQgFxOAcbEyw41"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And this is the link: <a href="http://jobstock20171025114709.azurewebsites.net/scripts/?v=r8NL2JoYrRk4WG4L8aUu1037yymdncGQgFxOAcbEyw41" rel="nofollow noreferrer">script_tag_link</a></p>
  
  <p>Here is how the page of the link looks:
  <a href="https://i.stack.imgur.com/29QqO.png" rel="nofollow noreferrer">Here should be the compressed scripts</a></p>