Skip to content

It process scss partials files and add the files that import them to the pipe.

License

Notifications You must be signed in to change notification settings

jakubzasanski/gulp-sass-dependent-partials

Repository files navigation

It proces scss partials files and add the files that import them to the pipe.

version license

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();
    });

Thanks

About

It process scss partials files and add the files that import them to the pipe.

Resources

License

Stars

Watchers

Forks

Packages

No packages published