Home

Awesome

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.