Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/11joselu/less-incremental-builder
- Owner: 11joselu
- License: mit
- Created: 2019-04-08T10:59:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T10:42:47.000Z (almost 2 years ago)
- Last Synced: 2025-01-15T14:45:42.828Z (7 days ago)
- Topics: build-tool, build-tools, builder, javascript, less, lesscss
- Language: JavaScript
- Size: 807 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
License
[MIT](LICENSE.md)