-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBundleConfig.cs
43 lines (34 loc) · 1.88 KB
/
BundleConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System.Web.Optimization;
namespace Preveld
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui.min.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js"));
bundles.Add(new ScriptBundle("~/bundles/printThis").Include(
"~/Scripts/printThis.js"));
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/jquery-ui.min.css",
"~/Content/bootstrap.css",
"~/Content/plugins/fontawesome-pro/css/all.min.css",
"~/Content/adminlte.min.css",
"~/Content/site.css"));
bundles.Add(new StyleBundle("~/Content/fontawesome").Include(
"~/Content/plugins/fontawesome-pro/css/all.min.css", new CssRewriteUrlTransform()));
bundles.Add(new ScriptBundle("~/adminlte/js").Include("~/Scripts/adminlte.min.js"));
}
}
}