Boilerplate for react component use typescript.
Cli compiler for sass/scss via dart-sass and postcss.
@jswork/postsass"">
@jswork/postsass"">
# public
npm i -g @jswork/postsass
# private
git clone https://github.com/afeiship/postsass.git
cd postsass
# 这一步可能报错,用 yarn 安装即可跳过这个问题
npm i && npm link
# 另一各解决方案是在 node16 下安装编译通过后再切到 node20 link
Usage: postsass [options]
Options:
-V, --version output the version number
-s, --src <string> Sass/scss file path.
-d, --dst <string> Css file path.
-c, --copy Copy original src to dst.
-a, --is-sass Is sass file.
-m, --minify Minify css.
-l, --load-paths Load path.
-h, --help display help for command
Code released under the MIT license.