fix gulpfile to signal completion, clean up a bit

This commit is contained in:
mntmn 2019-05-15 21:35:29 +02:00
parent db849bcb20
commit 58aa3fc41f

View File

@ -1,13 +1,13 @@
var gulp = require('gulp'); const gulp = require('gulp')
var sass = require('gulp-sass'); const sass = require('gulp-sass')
var concat = require('gulp-concat'); const concat = require('gulp-concat')
gulp.task('styles', function() { gulp.task('styles', function(done) {
gulp.src('styles/**/*.scss') gulp.src('styles/**/*.scss')
.pipe(sass({ .pipe(sass({
errLogToConsole: true errLogToConsole: true
})) }))
.pipe(gulp.dest('./public/stylesheets/')) .pipe(gulp.dest('./public/stylesheets/'))
.pipe(concat('style.css')); .pipe(concat('style.css'))
}); done()
})