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');
|
||||
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()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user