Add files via upload

This commit is contained in:
CK 2020-06-24 14:13:41 -04:00 committed by GitHub
parent 71fe2eb170
commit 11ad5fd923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2171 additions and 0 deletions

32
gulpfile.js Normal file
View file

@ -0,0 +1,32 @@
const gulp = require('gulp');
const less = require('gulp-less');
/* ----------------------------------------- */
/* Compile LESS
/* ----------------------------------------- */
const SW5E_LESS = ["less/*.less"];
function compileLESS() {
return gulp.src("less/sw5e.less")
.pipe(less())
.pipe(gulp.dest("./"))
}
const css = gulp.series(compileLESS);
/* ----------------------------------------- */
/* Watch Updates
/* ----------------------------------------- */
function watchUpdates() {
gulp.watch(SW5E_LESS, css);
}
/* ----------------------------------------- */
/* Export Tasks
/* ----------------------------------------- */
exports.default = gulp.series(
gulp.parallel(css),
watchUpdates
);
exports.css = css;