rhubarbphp / custard-sassc
A custard command for compiling SCSS into CSS using SassC
Installs: 9 259
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Requires
- eslider/sasscb: ^3.1
- rhubarbphp/custard: ^1.0.9
- rhubarbphp/rhubarb: ^1.1.0
This package is not auto-updated.
Last update: 2024-11-01 10:07:18 UTC
README
A custard command for compiling SCSS into CSS using SassC
Usage:
compile:scss [options] <input> <output>
Arguments:
input File or directory to compile
output File or directory to output to
Options:
-s, --style=STYLE Output style. Can be: nested, compressed. [default: "compressed"]
-l, --line-numbers Emit comments showing original line numbers.
-i, --import-path=IMPORT-PATH Set Sass import path.
-m, --sourcemap Emit source map.
-M, --omit-map-comment Omits the source map url comment.
-p, --precision=PRECISION Set the precision for numbers.
-a, --autoprefix Run postcss autoprefixer on output CSS files.
-vv Increase output verbosity (displays output from sasscb and autoprefixer).
Note: The autoprefixer option requires postcss CLI and autoprefixer to be installed globally.
These are node.js modules and can be installed globally with this command once you have node installed:
npm install -g postcss-cli autoprefixer
You may also need to install NVM using the below command in your Home directory
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
exit
Log back into your user account and run:
nvm install 6.11.5