Skip to content

Commit

Permalink
Update gulpfile.js
Browse files Browse the repository at this point in the history
If gulp finds css files in scss directory, it will copy them into css directory.
  • Loading branch information
fgRuslan authored Mar 24, 2018
1 parent ab3bec0 commit eeb3671
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
Expand Down

0 comments on commit eeb3671

Please sign in to comment.