title: ASP.Net MVC - How to Minify JavaScript without Bundles (Inline/ExternalFile)
body: <p>I am working on an MVC 5 Web App. JavaScript code is being managed in these 3 different ways,</p>
  
  <ol>
  <li><p>Inline JavaScript code in the Views (To Read ASP.Net Server Side Variables i.e. ViewBag, ResourceFile etc.)</p></li>
  <li><p>Referencing some external JavaScript files (One JS File for Each View/Page).</p></li>
  <li><p>Rest of the JavaScript is being references by Bundles.</p></li>
  </ol>
  
  <p>I want to minify <strong>#1 and #2</strong>, I don't think I should create <strong>a bundle for each page</strong> in my application as there are dozens of pages so that's why I think I cannot use MVC Bundling and Minificatin feature for this.</p>
  
  <p>Can you please suggest a solution.</p>
  
  <p>Thanks</p>