So, for scripts/styling bundles I have:
@Scripts.Render("~/bundles/jquery")
@Styles.Render("~/Content/css")
The bundle config is pretty basic:
bundles.UseCdn = true;
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/css/icomoon.css",
"~/Content/bootstrap.css",
"~/Content/bootstrap-theme.css",
"~/Content/toastr.css",
"~/Content/custom.css"));
bundles.Add(new ScriptBundle("~/bundles/jquery", "//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"));
The local bundle works, but the CDN bundle does not. Debug vs. release mode seems to make no difference: in either case, the jquery bundle only results in a blank line in the output.
How can I fix this?