From 6b8cae2c0025cf97b35ca6cc7f6c664b055af8e0 Mon Sep 17 00:00:00 2001 From: firebingo Date: Fri, 27 Jul 2018 10:02:31 -0700 Subject: [PATCH] Added custom data folder to gulp dist. --- gulpfile.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 9698241..8324029 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -53,7 +53,8 @@ gulp.task('dist', gulp.series( buildJson, buildJsonTranslations, copyHtml, - copyImages + copyImages, + copyCustomData ), ) ); @@ -111,6 +112,11 @@ function copyImages() { .pipe(gulp.dest('Dist/Images')); } +function copyCustomData() { + return gulp.src('CustomData/**') + .pipe(gulp.dest('Dist/CustomData')); +} + function buildJson() { return gulp.src(jsonFiles) .pipe(jsonmin())