It does not look like this is possible because LessTransform will be applied only once all the files have been merged and minified.
public class LessTransform : IBundleTransform
{
public void Process(BundleContext context, BundleResponse response)
{
response.Content = LessWeb.Parse(response.Content, (DotlessConfiguration) ConfigurationManager.GetSection("dotless"));
response.ContentType = "text/css";
}
}
Is there a way to preprocess the less files in some way at Bundling time?