I am working on an MVC 5 Web App. JavaScript code is being managed in these 3 different ways,
Inline JavaScript code in the Views (To Read ASP.Net Server Side Variables i.e. ViewBag, ResourceFile etc.)
Referencing some external JavaScript files (One JS File for Each View/Page).
Rest of the JavaScript is being references by Bundles.
I want to minify #1 and #2, I don't think I should create a bundle for each page 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.
Can you please suggest a solution.
Thanks