I've seen questions about this elsewhere but they all were about bundling .min files. In my case I have a couple of js files in a bundle but only one is being included as far as I can see. Everything builds but if I look at the page source or the bundle in chrome developer tools, only one js file is included. Bundle looks like this:
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/myJS").Include(
"~/myJS/getPathforAjax.js",
"~/myJS/dropdown.js",
"~/myJS/email8.js",
"~/myJS/main-nav-click.js"
));
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/site.css"
,"~/Content/caption.css"
, "~/Content/dropdown.css"
, "~/Content/colors.css"
, "~/Content/buttons.css"
, "~/Content/stripe.css"));
}
The css files all load but in the myJS bundle only email8 looks to be included and it is minimized. I would think that if there was a js error then none of the files would show or they would show non-minimized All the files are where they are supposed to be on the server. I have reloaded, hard reloaded, etc, but they don't pop up.
Any ideas?