add css to build
This commit is contained in:
parent
5f27bc5ff9
commit
0e57ddb77c
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue