You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
403 B
20 lines
403 B
"use strict";
|
|
// Include Gulp
|
|
const gulp = require('gulp');
|
|
|
|
// All of your plugins
|
|
const less = require('gulp-less');
|
|
|
|
// Compile css from less
|
|
gulp.task('less', function () {
|
|
return gulp.src('static/less/_.less')
|
|
.pipe(less())
|
|
.pipe(gulp.dest('static/less/'));
|
|
});
|
|
|
|
// Watch files for changes
|
|
gulp.task('watch', function () {
|
|
gulp.watch('static/less/**/*.less', ['less']);
|
|
});
|
|
|
|
|
|
|