From c443dd41998c9ce9552c9e94259567b9cbfa46c2 Mon Sep 17 00:00:00 2001 From: Tben Date: Sun, 30 Jul 2023 07:15:40 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8339eb1..5339f12 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ npm install lessc-watcher There are few different ways to run your less compiler -#### Basic usage +### Basic usage ```bash npx lessc-watcher --src ./folder --dst ./dist/less.css @@ -44,7 +44,7 @@ npx lessc-watcher --src ./folder --dst ./dist/less.css **_NOTE:_** If you only provide a destination path, without specifying the exact file name in `.css`, your files will be compiled to a css file named `_main.css`. This is done to prevent conflicts with another possible `main.css` file. -#### Adding more source folders +### Adding more source folders You can add more source folders by using a comma(`,`) separator. Example: @@ -54,15 +54,15 @@ npx lessc-watcher --src ./folder-1,./folder-2 --dst ./dist/folder-1.css,./dist/f **_NOTE:_** Your `--dst` input must match the number of comma-separated folders in your `src` input. -#### Advanced Features +## Advanced Features lessc-watcher has more advanced features to better fine-tune your files -##### Ignore files +### Ignore files Ignore files/folders by enlosing the names in braces. Eg `(general).less` -##### Compile specific files +### Compile specific files If you're watching an entire folder, you can compile specific files in that folder to a stanalone file. Example if you create a file named `[test].less` in your watch directory, in your distribution directory there will be an extra file named `test.css`. diff --git a/package.json b/package.json index 5d8a31c..f72494b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lessc-watcher", - "version": "1.1.3", + "version": "1.1.4", "description": "A minimal package to watch less files and compile them to css", "main": "dist/index.js", "bin": {