Created
August 30, 2012 07:38
-
-
Save shanselman/3523813 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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