aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/resources/html/gulpfile.js')
-rw-r--r--haddock-api/resources/html/gulpfile.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/haddock-api/resources/html/gulpfile.js b/haddock-api/resources/html/gulpfile.js
index c7cb6782..c456615f 100644
--- a/haddock-api/resources/html/gulpfile.js
+++ b/haddock-api/resources/html/gulpfile.js
@@ -19,9 +19,10 @@ function buildJS(targetFileName, files) {
.pipe(gulp.dest('.'));
}
-gulp.task('build-js', function() {
+gulp.task('build-js', function(done) {
buildJS('quick-jump.min.js', ['./js-src/quick-jump.tsx']);
buildJS('haddock-bundle.min.js', ['./js-src/init.ts']);
+ done();
});
-gulp.task('default', ['build-js']); \ No newline at end of file
+gulp.task('default', gulp.series('build-js'));