GitHub - ligershark/WebOptimizer.Less · GitHub
Skip to content

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

A LESS compiler 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

You can reference any LESS file directly in the browser and a compiled CSS document will be served. To set that up, do this:

services.AddWebOptimizer(pipeline =>
{
    pipeline.CompileLessFiles();
});

Or if you just want to parse specific LESS files, do this:

services.AddWebOptimizer(pipeline =>
{
    pipeline.CompileLessFiles("/path/a.less", "/path/b.less");
});

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages