Created
September 12, 2012 02:20
-
-
Save slynch13/3703799 to your computer and use it in GitHub Desktop.
dotless css bundle transform without imports
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
public class LessTransform : IBundleTransform | |
{ | |
public void Process(BundleContext context, BundleResponse response) | |
{ | |
response.Content = Less.Parse(response.Content, null); | |
response.ContentType = "text/css"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment