Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 825 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 825 Bytes

A CSS autoprefixer for ASP.NET Core

Build status NuGet

This package compiles TypeScript, ES6 and JSX files into ES5 by hooking into the LigerShark.WebOptimizer pipeline.

Usage

Automatically add vendor prefixes to all CSS files. To set that up, do this:

services.AddWebOptimizer(pipeline =>
{
    pipeline.MinifyCssFiles()
            .AutoPrefixCss();
});

It will detect the user agent of the browser and only serve the venor prefixes that applies to that browser.