The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BundleConfig.cs 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System.Web;
  2. using System.Web.Optimization;
  3. namespace Teknik
  4. {
  5. public class BundleConfig
  6. {
  7. // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
  8. public static void RegisterBundles(BundleCollection bundles)
  9. {
  10. #if !DEBUG
  11. BundleTable.EnableOptimizations = true;
  12. #endif
  13. bundles.Add(new StyleBundle("~/Content/Common").Include(
  14. "~/Content/bootstrap.css",
  15. "~/Content/font-awesome.css",
  16. "~/Content/common.css"));
  17. bundles.Add(new ScriptBundle("~/bundles/common").Include(
  18. "~/Scripts/jquery-{version}.js",
  19. "~/Scripts/jquery.validate*",
  20. "~/Scripts/bootstrap.js",
  21. "~/Scripts/bootstrap-select.js",
  22. "~/Scripts/common.js",
  23. "~/Scripts/respond.js"));
  24. bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
  25. "~/Scripts/jquery-{version}.js",
  26. "~/Scripts/jquery.validate*"));
  27. // Use the development version of Modernizr to develop with and learn from. Then, when you're
  28. // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
  29. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  30. "~/Scripts/modernizr-*"));
  31. bundles.Add(new ScriptBundle("~/bundles/markdown").Include(
  32. "~/Scripts/PageDown/Markdown.Converter.js",
  33. "~/Scripts/PageDown/Markdown.Sanitizer.js"));
  34. }
  35. }
  36. }