19 lines
350 B
JavaScript
19 lines
350 B
JavaScript
var gulp = require('gulp');
|
|
var less = require('gulp-less');
|
|
|
|
gulp.task('less', function (cb) {
|
|
gulp
|
|
.src('less/rmss.less')
|
|
.pipe(less())
|
|
.pipe(gulp.dest("./"));
|
|
cb();
|
|
});
|
|
|
|
gulp.task(
|
|
'default',
|
|
gulp.series('less', function(cb) {
|
|
gulp.watch('less/*.less', gulp.series('less'));
|
|
cb();
|
|
})
|
|
);
|