.NET MVC bundler is always minifying my file! (release mode), even though I don't want it to. How can I avoid this? I need to use a pre-minified verison, because the .net minifier causes incorrect JS in this case.
I'm using:
https://raw.github.com/mbest/knockout-deferred-updates/master/knockout-deferred-updates.min.js
and my code is:
bundles.Add(new ScriptBundle("~/bundles/test") .Include("~/Scripts/Libraries/knockout-deferred-updates.js") .Include("~/Scripts/Libraries/knockout-deferred-updates.min.js")); I've tried just having one .Include etc. but it still minifies the .min file!
Bundleinstead of aScriptBundle, but I'm actually surprised it doesn't automatically pick up your pre-minified file (don't include the.min.js, just include the.js(but keep both files in the same directory) and it should do the rest - I assume you have tried this?)