Socket
Socket
Sign inDemoInstall

gulp-sass-bulk-importer

Package Overview
Dependencies
84
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-sass-bulk-importer

import directories in your SCSS


Version published
Maintainers
1
Created

Readme

Source

gulp-sass-bulk-importer

NOTE:
Forked from mathisonian/gulp-sass-bulk-import to upgrade the underlying dependencies.

This upgrade changes the minimum node version needed, from 0.10 to 8.X.

npm version

gulp task to allow importing directories in your SCSS

installation

npm install --save-dev gulp-sass-bulk-importer

usage

in your .scss file

@import "some/path/*";

// becomes
// @import "some/path/file1.scss";
// @import "some/path/file2.scss";
// ...

in your gulpfile
var bulkSass = require('gulp-sass-bulk-importer');

gulp.task('css', function() {
    return gulp
            .src(srcDir + 'stylesheets/app.scss')
            .pipe(bulkSass())
            .pipe(
                sass({
                    includePaths: ['src/stylesheets']
                }))
            .pipe( gulp.dest('./public/css/') );
});

Keywords

FAQs

Last updated on 01 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc