fix gulpfile to signal completion, clean up a bit
This commit is contained in:
parent
db849bcb20
commit
58aa3fc41f
14
Gulpfile.js
14
Gulpfile.js
@ -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()
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user