gulp-sass-dependent-partials
v1.0.3
Published
It proces scss partials files and add the files that import them to the pipe.
Downloads
6
Maintainers
Readme
It proces scss partials files and add the files that import them to the pipe.
Install
$ npm install --save-dev gulp-sass-dependent-partials
Required
- Node
>=16.0.0
- NPM
Usage
import sassDependentFiles from 'gulp-sass-dependent-partials';
gulp.src(currentPaths.development.scss + "**/*.sccs")
.pipe(plumber({
errorHandler: errorHandler
}))
.pipe(sassDependentFiles(currentPaths.development.scss))
.pipe(sass())
.pipe(rename({"suffix": ".min"}))
.pipe(gulp.dest(currentPaths.production.css))
.on("end", _ => {
callback();
});