node package manager

larvitcss

Build Status Dependencies

larvitcss

Compile, minify, autoprefix etc css from a folder. This module is designed to remove the need to precomile css.

Uncompiled files, like .scss, .sass, .less, .stylus etc overrides precompiled .css files with a conflicting name.

Installation

npm i larvitcss;

Usage

In your start script file, make sure all routes to css files are routed to the css-controller.

In the case of larvitbase, do something like this:

require('larvitbase')({
    'customRoutes': [{
        "regex": "\\.css$",
        "controllerName": "css"
    }]
});