Package Exports
- postcss-sass
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-sass) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
});