main
cs 30 lines 1.18 KB
Raw
1 using System.Web;
2 using System.Web.Optimization;
3
4 namespace CsprojWebApplicationNetFx
5 {
6 public class BundleConfig
7 {
8 // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
9 public static void RegisterBundles(BundleCollection bundles)
10 {
11 bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12 "~/Scripts/jquery-{version}.js"));
13
14 bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15 "~/Scripts/jquery.validate*"));
16
17 // Use the development version of Modernizr to develop with and learn from. Then, when you're
18 // ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
19 bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20 "~/Scripts/modernizr-*"));
21
22 bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
23 "~/Scripts/bootstrap.js"));
24
25 bundles.Add(new StyleBundle("~/Content/css").Include(
26 "~/Content/bootstrap.css",
27 "~/Content/site.css"));
28 }
29 }
30 }