Skip to content

Instantly share code, notes, and snippets.

@thefringeninja
Created July 8, 2013 16:48
Show Gist options
  • Save thefringeninja/5950449 to your computer and use it in GitHub Desktop.
Save thefringeninja/5950449 to your computer and use it in GitHub Desktop.
public class CassetteBundleConfiguration : IConfiguration<BundleCollection>
{
public void Configure(BundleCollection bundles)
{
bundles.Add<StylesheetBundle>("content/bootstrap/metro-bootstrap", new[] {"metro-bootstrap.less"});
bundles.Add<StylesheetBundle>("content/bootstrap", new[] {"bootstrap.less"});
bundles.Add<StylesheetBundle>("content/css/app", new[] {"main.less"});
bundles.AddPerIndividualFile<StylesheetBundle>("content/css/lib", new FileSearch
{
Pattern = "*.less"
});
bundles.AddPerIndividualFile<ScriptBundle>("scripts/app", new FileSearch
{
Pattern = "*.coffee"
});
bundles.AddPerSubDirectory<ScriptBundle>("scripts/lib");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment