New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

plumber-less

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plumber-less

LESS operation for Plumber pipelines

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

plumber-less Build Status

LESS compilation operation for Plumber pipelines.

Example

var less = require('plumber-less');

module.exports = function(pipelines) {

    pipelines['css'] = [
        glob('main.less'),
        less(),
        // ... more pipeline operations
    ];

    pipelines['icons'] = [
        glob('icons.less'),
        less({rootPath: '../..'}),
        // ... more pipeline operations
    ];

};

API

less(lessOptions)

Compile each input LESS resource to a single CSS resource.

Optionally, options can be passed to the LESS compiler via the lessOptions parameter.

Note that you may not specify minimisation configuration options, such as compress or cleancss; this should be done using the plumber-mincss operation instead, to ensure atomicity of operations.

Keywords

build

FAQs

Package last updated on 13 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts