The LitCli package provides two handy CLI to process SCSS file
- lit-sass-cli
git clone
the project, then simply run npm i
The development process takes place on dedicated feature or fix branches.
Each branch is then merged into master
branch.
Please refer to the naming conventions for branches in the good practices section.
The Lit Sass CLI allows the developer to generate TS file from SCSS file to be used in Lit Components. There are two modes to it.
The default way of working of the Sass CLI is the watcher
exmg-lit-cli sass
The CLI will go through your file tree from the directory it is ran ignoring node_modules
folder.
Alternatively it is possible to run the command by specifying the files to process, that being a single file or a file pattern using the --files
or -f
flag
exmg-lit-cli sass -f \"./src/**/*.scss\"
Note that it will process those file and exit, this is not a watcher.