Closed xeroxstar closed 3 years ago
I found this example and it worked:
const gulp = require('gulp');
const less = require('gulp-less');
const path = require('path');
gulp.task('less', function () {
return gulp.src('./src/lib/ui/**/*.less').pipe(gulp.dest('assets/less'));
});
gulp.task('default', gulp.series('less'));
I am running this example but getting an error
gulp is not defined
:I also tried this example:
and i am getting and error :
AssertionError [ERR_ASSERTION]: Task function must be specified