Socket
Socket
Sign inDemoInstall

compile-less-cli

Package Overview
Dependencies
81
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    compile-less-cli

compile less


Version published
Maintainers
1
Created

Readme

Source

compile-less

All .less files are compiled into .css files.

Install

npm i compile-less-cli --save-dev

Basic Usage

const compileLess = require('compile-less-cli');

compileLess('src', {
  out: 'out',              // Output directory.
  combine: 'dist/uiw.css', // Combine CSS files.
});

Command Line

Command help:

Usage: compile-less <command> [options]

All .less files are output to a .css file.

Options:
  -v, --version              output the version number
  -d, --dir <dir-path>       Less file directory (default: "src")
  -o, --out <dir-path>       Output directory.
  -c, --combine <file-name>  Combine CSS files.
  -h, --help                 output usage information

  Examples:

  $ compile-less -d src -o css
  $ compile-less -d src -o out --combine out/dist.css

Development

Listen for files compiled with TypeScript

npm run dev
npm run compile
cd test
compile-less -d src -o out

FAQs

Last updated on 07 Apr 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc