initial import

This commit is contained in:
Nicolas Delaforge
2021-07-08 10:12:12 +02:00
parent 689b01c11e
commit 9f907c9417
74 changed files with 2908 additions and 0 deletions

33
gulpfile.js Normal file
View File

@ -0,0 +1,33 @@
const gulp = require('gulp');
const less = require('gulp-less');
/* ----------------------------------------- */
/* Compile LESS
/* ----------------------------------------- */
const SIMPLE_LESS = ["styles/**/*.less"];
function compileLESS() {
return gulp.src("styles/bol.less")
.pipe(less())
.pipe(gulp.dest("./css"))
}
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;