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');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
const gulp = require('gulp')
const sass = require('gulp-sass')
const concat = require('gulp-concat')
gulp.task('styles', function() {
gulp.task('styles', function(done) {
gulp.src('styles/**/*.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(gulp.dest('./public/stylesheets/'))
.pipe(concat('style.css'));
});
.pipe(concat('style.css'))
done()
})