You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| CHANGELOG.md | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| index.js | 5 years ago | |
| package.json | 5 years ago | |
| parse.js | 5 years ago | |
| parser.js | 5 years ago | |
| stringifier.js | 5 years ago | |
| stringify.js | 5 years ago | |
README.md
postcss-sass
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.
Install
npm i postcss-sass --save
Usage
var postcssSass = require("postcss-sass");
postcss(plugins).process(sass, { syntax: postcssSass }).then(function (result) {
result.content // Sass with transformations
});