Less compilation wasn't working after the css->stylesheet dir rename.
This commit is contained in:
parent
16051319bd
commit
5ad2a38a14
2 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,13 @@ var gulp = require('gulp'),
|
|||
minify = require('gulp-cssnano');
|
||||
|
||||
gulp.task('less', function () {
|
||||
return gulp.src('./static/css/style.less')
|
||||
return gulp.src('./static/stylesheet/style.less')
|
||||
.pipe(less())
|
||||
.pipe(minify())
|
||||
.pipe(rename({
|
||||
extname: '.min.css'
|
||||
}))
|
||||
.pipe(gulp.dest('./static/css'));
|
||||
.pipe(gulp.dest('./static/stylesheet'));
|
||||
});
|
||||
|
||||
gulp.task('default', ['less']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue