https://github.com/afeiship/postsass
Cli compiler for sass/scss via dart-sass and postcss.
https://github.com/afeiship/postsass
cli dart-sass postcss sass scss
Last synced: 4 months ago
JSON representation
Cli compiler for sass/scss via dart-sass and postcss.
- Host: GitHub
- URL: https://github.com/afeiship/postsass
- Owner: afeiship
- License: mit
- Created: 2021-01-06T02:04:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-07T03:37:31.000Z (7 months ago)
- Last Synced: 2025-01-06T08:08:56.119Z (6 months ago)
- Topics: cli, dart-sass, postcss, sass, scss
- Language: JavaScript
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# postsass
> Cli compiler for sass/scss via dart-sass and postcss.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
# 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
```
Usage: postsass [options]Options:
-V, --version output the version number
-s, --src Sass/scss file path.
-d, --dst 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
```## license
Code released under [the MIT license](https://github.com/afeiship/postsass/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/postsass
[version-url]: https://npmjs.org/package/@jswork/postsass
[license-image]: https://img.shields.io/npm/l/@jswork/postsass
[license-url]: https://github.com/afeiship/postsass/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/postsass
[size-url]: https://github.com/afeiship/postsass/blob/master/dist/postsass.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/postsass
[download-url]: https://www.npmjs.com/package/@jswork/postsass