I upgraded my MVC4 to MVC5, now all my files, that were ending with .min
or .debug
are not included in bundle. In MVC4, bundles.IgnoreList.Clear();
helped, but not anymore.
public static void RegisterBundles(BundleCollection bundles) {
bundles.IgnoreList.Clear();
bundles.Add(new ScriptBundle("~/bundles/library")
.IncludeDirectory("~/Scripts/Libraries", "*.js", true));
}
How to make it not to ignore my .min
and .debug
files in MVC5?