mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
26 lines
883 B
C#
26 lines
883 B
C#
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"));
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|