I\'ve included the following line in the BundleConfig.cs
file:
bundles.Add(new ScriptBundle(\"~/bundles/jqueryajax\").Include(
\"~/Scripts/jquery.
I believe ScriptBundle
tries to minify the file when debug="false"
instead of using the existing .min.js
file. There is a setting in web.config to affect how this works (set usePreMinifiedFiles to true):
<core enableTracing="false" ...>
<js defaultMinifier="EdwardsJsMinifier" usePreMinifiedFiles="true">