public void TransformMinifiesCss()
        {
            var minifier  = new MicrosoftStyleSheetMinifier();
            var getResult = minifier.Transform(() => "p { color: White; }".AsStream(), Mock.Of <IAsset>());

            using (var result = getResult())
            {
                result.ReadToEnd().ShouldEqual("p{color:#fff}");
            }
        }
Exemplo n.º 2
0
 public StylesheetPipeline()
 {
     StylesheetMinifier = new MicrosoftStyleSheetMinifier();
     CompileLess        = true;
 }