Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
dotless css bundle transform without imports
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