Skip to content

Instantly share code, notes, and snippets.

@sionjlewis
Last active January 8, 2017 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sionjlewis/ac7cc16b5c2fb26b06990d5eb35da549 to your computer and use it in GitHub Desktop.
Save sionjlewis/ac7cc16b5c2fb26b06990d5eb35da549 to your computer and use it in GitHub Desktop.
Hello Angular World: code snippet for article (http://www.sjlewis.com). The complete source code and project files can be found here: https://github.com/sionjlewis/Hello.Angular.World
using System.Web;
using System.Web.Optimization;
namespace My.iTunes.Client.App_Start
{
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 StyleBundle("~/Content/css").Include("~/Content/site.css", new CssRewriteUrlTransform()));
#if DEBUG
BundleTable.EnableOptimizations = false;
#else
BundleTable.EnableOptimizations = true;
#endif
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment