rhubarbphp / custard-sassc
用于使用 SassC 编译 SCSS 到 CSS 的 custard 命令
1.0.6
2020-08-13 10:07 UTC
Requires
- eslider/sasscb: ^3.1
- rhubarbphp/custard: ^1.0.9
- rhubarbphp/rhubarb: ^1.1.0
This package is not auto-updated.
Last update: 2024-09-20 09:38:37 UTC
README
用于使用 SassC 编译 SCSS 到 CSS 的 custard 命令
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).
注意: autoprefixer 选项需要全局安装 postcss CLI 和 autoprefixer。这些是 node.js 模块,一旦您安装了 node,可以使用以下命令全局安装:npm install -g postcss-cli autoprefixer
您可能还需要使用以下命令在您的 Home 目录中安装 NVM:curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
exit
重新登录您的用户账户并运行:nvm install 6.11.5