This repository has been archived on 2026-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
vtt_sys_ravenous/gulpfile.js

33 lines
757 B
JavaScript

const gulp = require('gulp');
const less = require('gulp-less');
/* ----------------------------------------- */
/* Compile LESS
/* ----------------------------------------- */
const SIMPLE_LESS = ["styles/*.less"];
function compileLESS() {
return gulp.src("styles/simple.less")
.pipe(less())
.pipe(gulp.dest("./styles/"))
}
const css = gulp.series(compileLESS);
/* ----------------------------------------- */
/* Watch Updates
/* ----------------------------------------- */
function watchUpdates() {
gulp.watch(SIMPLE_LESS, css);
}
/* ----------------------------------------- */
/* Export Tasks
/* ----------------------------------------- */
exports.default = gulp.series(
gulp.parallel(css),
watchUpdates
);
exports.css = css;