.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / postcss-sass / README.md
1 # postcss-sass [![Build Status](https://travis-ci.org/AleshaOleg/postcss-sass.svg?branch=master)](https://travis-ci.org/AleshaOleg/postcss-sass)
2
3 A [Sass](http://sass-lang.com/) parser for [PostCSS](https://github.com/postcss/postcss), using [gonzales-pe](https://github.com/tonyganch/gonzales-pe).
4
5 **Not all Sass syntax supported. Parser under development.**
6
7 **This module does not compile Sass.** It simply parses mixins as custom at-rules & variables as properties, so that PostCSS plugins can then transform Sass source code alongside CSS.
8
9 ## Install
10 `npm i postcss-sass --save`
11
12 ## Usage
13 ```js
14 var postcssSass = require("postcss-sass");
15
16 postcss(plugins).process(sass, { parser: postcssSass }).then(function (result) {
17     result.content // Sass with transformations
18 });
19 ```