Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created August 30, 2012 07:38
Show Gist options
  • Save shanselman/3523813 to your computer and use it in GitHub Desktop.
Save shanselman/3523813 to your computer and use it in GitHub Desktop.
using System.Web.Optimization;
using dotless.Core;
namespace Optimization {
public class LessMinify : CssMinify {
public LessMinify() { }
public override void Process(BundleContext context, BundleResponse response) {
response.Content = Less.Parse(response.Content);
base.Process(context, response);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment