Skip to content

Instantly share code, notes, and snippets.

@slynch13
Created September 12, 2012 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slynch13/3703799 to your computer and use it in GitHub Desktop.
Save slynch13/3703799 to your computer and use it in GitHub Desktop.
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