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: 4 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T10:42:47.000Z (about 2 years ago)
- Last Synced: 2025-02-28T01:40:37.829Z (4 months 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.
[](https://travis-ci.com/11joselu/less-incremental-builder)
[](https://coveralls.io/github/11joselu/less-incremental-builder?branch=master)
[](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)