initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Web / App_Start / BundleConfig.cs
1 using System.Web;
2 using System.Web.Optimization;
3
4 namespace CPE.App.Web
5 {
6     public class BundleConfig
7     {
8         // For more information on bundling, visit http://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 http://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                       "~/Scripts/respond.js"));
25
26             bundles.Add(new StyleBundle("~/Content/css").Include(
27                       "~/Content/bootstrap.css",
28                       "~/Content/site.css"));
29         }
30     }
31 }