BuildFeed/App_Start/BundleConfig.cs

29 lines
1005 B
C#
Raw Normal View History

2014-10-11 06:57:02 +08:00
using System.Web;
using System.Web.Optimization;
namespace BuildFeed
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
2014-11-28 03:34:20 +08:00
bundles.Add(new ScriptBundle("~/bundles/jsrender").Include(
"~/Scripts/jsrender*"));
2014-10-11 06:57:02 +08:00
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*"));
bundles.Add(new StyleBundle("~/content/css").Include(
"~/content/style.css"));
// Set EnableOptimizations to false for debugging. For more information,
// visit http://go.microsoft.com/fwlink/?LinkId=301862
BundleTable.EnableOptimizations = true;
}
}
}