I'm adding a few jQuery script files to my app using the bundleconfig.cs class.
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js",
"~/Scripts/jquery-ui-{version}.js",
"~/Scripts/jquery.mCustomScrollbar.min.js",
"~/Scripts/jquery.mousewheel.min.js",
"~/Scripts/jtable/jquery.jtable.js"));
When I run my app and check the page source, only some of the script files are referenced:
<script src="/Scripts/jquery-1.10.2.js"></script>
<script src="/Scripts/jquery-ui-1.10.3.js"></script>
<script src="/Scripts/jtable/jquery.jtable.js"></script>
<script src="/Scripts/jquery-migrate-1.2.1.min.js"></script>
Why would this be happening? I can work around the issue by manually adding the script references directly to _Layout.cshtml, but that is hardly best practice.