Asp.Net MVC4 Bundling & Minification .min.js files excluded from Scripts.Render?
问题 I created some theme HtmlHelper extensions for that grab the .css and .js files in a theme directory and dynamically register them as bundles. However, if the theme only contains .min.js files, the Scripts.Render output is empty in debug mode. Is there a way to include *.min.js files in the output for Scripts.Render when in debug mode? 回答1: Figured it out. BundleTable.Bundles.IgnoreList.Clear(); // apparently, IgnoreList included .min.js in debug BundleTable.Bundles.IgnoreList.Ignore("