summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 26c508d..e6eebff 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -36,7 +36,16 @@ function css() {
);
}
-exports.build = gulp.parallel(js, css);
+function dist() {
+ return pipeline(
+ gulp.src('static/assets/css/*.*'),
+ gulp.dest('dist/'),
+ gulp.src('static/assets/js/*.*'),
+ gulp.dest('dist/')
+ );
+}
+
+exports.build = gulp.series(gulp.parallel(js, css), dist);
exports.devJs = function () {
return gulp.watch('assets/js/fuji.js', { delay: 500 }, gulp.parallel(js));
};