Package Exports
- postcss-node-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-node-sass) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A PostCSS plugin to parse styles with node-sass
Installation
npm install postcss-node-sassUsage
Using Gulp
let gulp = require('gulp'),
postcss = require('gulp-postcss'),
sass = require('postcss-node-sass');
gulp.task('css', () => {
gulp.src('path/to/dev/css')
.pipe(postcss([
/* postcss plugins before parsing sass */
sass()
/* postcss plugins after parsing sass */
]))
.pipe(gulp.dest('path/to/build/css'));
});
/* rest of gulp file */