Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/11joselu/less-incremental-builder

Less Incremental builder
https://github.com/11joselu/less-incremental-builder

build-tool build-tools builder javascript less lesscss

Last synced: 3 days ago
JSON representation

Less Incremental builder

Awesome Lists containing this project

README

        



Less Incremental builder


Watch, loads a Less file and compiles it to CSS.


[![Build Status](https://travis-ci.com/11joselu/less-incremental-builder.svg?branch=master)](https://travis-ci.com/11joselu/less-incremental-builder)
[![Coverage Status](https://coveralls.io/repos/github/11joselu/less-incremental-builder/badge.svg?branch=master)](https://coveralls.io/github/11joselu/less-incremental-builder?branch=master)
[![npm version](https://img.shields.io/npm/v/less-incremental-builder.svg)](https://www.npmjs.com/package/less-incremental-builder)

Install

```bash
npm install less-incremental-build --save-dev
```

Usage

```bash
npm less-incremental-build --src .less --output .css
```

## API

#### src

Type: `string`

The main file to find all imports to watch (include himself).

#### output

Type: `string`

Output file to compile less styles. Should be a css file (If not exists, it will be created)

### config

Type: `string`

Path of your custom config file. Do not pass `src` or `output` as argument, should be added inside your custom config file.

Config File

See [watcher.config.js](/examples/watcher.config.js)

```bash
npm less-incremental-build --config watcher.config.js
```

Maintainers





Jose Cabrera

License

[MIT](LICENSE.md)