From eeb367128ecef1c3ed982a50cf535ddc5390d464 Mon Sep 17 00:00:00 2001 From: Ruslan Isaev Date: Sat, 24 Mar 2018 10:03:14 +0300 Subject: [PATCH] Update gulpfile.js If gulp finds css files in scss directory, it will copy them into css directory. --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 6caee52..0b52701 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -2,7 +2,9 @@ var gulp = require('gulp'); var sass = require('gulp-sass'); gulp.task('default', function(){ - return gulp.src('./scss/**/*.scss') + gulp.src('./scss/**/*.css') + .pipe(gulp.dest('./css')); + gulp.src('./scss/**/*.scss') .pipe(sass().on('error', sass.logError)) .pipe(gulp.dest('./css')); });