From 353b46249b7d2187eeb32b323a9b4eedd86f2184 Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 2 Oct 2018 21:15:32 +0200 Subject: [PATCH] Allow SCSS to be compiled too --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index a402b89..18c5736 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,7 +15,7 @@ gulp.task('lint:sass', () => { const options = { reporters: [{formatter: 'string', console: true}] } - return gulp.src('sass/**/*.sass') + return gulp.src('sass/**/*.s*') .pipe(stylelint(options)) }) @@ -27,7 +27,7 @@ gulp.task('build:dev', () => { indent: ' ', autosemicolon: true } - return gulp.src('sass/**/*.sass') + return gulp.src('sass/**/*.s*') .pipe(sass(options).on('error', sass.logError)) .pipe(beautify(bOptions)) .pipe(gulp.dest('temp')) @@ -41,7 +41,7 @@ gulp.task('build:prod', () => { indent: ' ', autosemicolon: true } - return gulp.src('sass/**/*.sass') + return gulp.src('sass/**/*.s*') .pipe(sass(options).on('error', sass.logError)) .pipe(beautify(bOptions)) .pipe(gulp.dest('css')) @@ -109,5 +109,5 @@ gulp.task('generate', ['lint:js', 'lint:sass', 'build:dev', 'build:prod'], () => }) gulp.task('watch', () => { - gulp.watch('sass/**/*.sass', ['lint:js', 'lint:sass', 'build:dev']) + gulp.watch('sass/**/*.s*', ['lint:js', 'lint:sass', 'build:dev']) })