L
L
lavezzi12016-02-01 08:04:35
Sass
lavezzi1, 2016-02-01 08:04:35

gulp-sass plugin not importing all files in a directory?

Something like @ import 'sass/folder/*.scss'; ? Either I'm not writing correctly or I don't.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serj-One, 2016-02-01
@lavezzi1

gulp.task('scss', function () {
    gulp.src( ['dev/_scss/*.scss',] )       
        .pipe(concat('style.scss'))
        .pipe(sass())    
        .pipe(gulp.dest('dev/css/'))
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question