|
|
2 年之前 | |
|---|---|---|
| .. | ||
| CHANGELOG.md | 2 年之前 | |
| LICENSE | 2 年之前 | |
| README.md | 2 年之前 | |
| index.js | 2 年之前 | |
| package.json | 2 年之前 | |
| parse.js | 2 年之前 | |
| parser.js | 2 年之前 | |
| stringifier.js | 2 年之前 | |
| stringify.js | 2 年之前 | |
A Sass parser for PostCSS, using gonzales-pe.
Not all Sass syntax supported. Parser under development.
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.
npm i postcss-sass --save
var postcssSass = require("postcss-sass");
postcss(plugins).process(sass, { syntax: postcssSass }).then(function (result) {
result.content // Sass with transformations
});