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.5KB

1234567891011121314151617181920212223242526272829303132333435363738
  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/teknik.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. // Use the development version of Modernizr to develop with and learn from. Then, when you're
  25. // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
  26. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  27. "~/Scripts/modernizr-*"));
  28. bundles.Add(new ScriptBundle("~/bundles/markdown").Include(
  29. "~/Scripts/PageDown/Markdown.Converter.js",
  30. "~/Scripts/PageDown/Markdown.Sanitizer.js"));
  31. }
  32. }
  33. }