add css to build

This commit is contained in:
mattx 2020-06-21 16:02:56 +02:00
parent 5f27bc5ff9
commit 0e57ddb77c
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
var gulp = require("gulp");
var clean = require("gulp-clean");
var coffee = require("gulp-coffee");
var stylus = require("gulp-stylus");
// gulp-clean seems to not like exporting the function
gulp.task("clean", function(){
@ -21,11 +22,12 @@ function client(cb){
.pipe(gulp.dest("./build/static"));
gulp.src("./static/index.html")
.pipe(gulp.dest("./build/static"));
gulp.src("./static/app.styl")
.pipe(stylus())
.pipe(gulp.dest("./build/static"));
cb();
}
exports.server = server;
exports.client = client;
exports.default = gulp.series("clean", gulp.parallel(server, client));