Added custom data folder to gulp dist.
This commit is contained in:
parent
16bec2a1ad
commit
6b8cae2c00
@ -53,7 +53,8 @@ gulp.task('dist', gulp.series(
|
|||||||
buildJson,
|
buildJson,
|
||||||
buildJsonTranslations,
|
buildJsonTranslations,
|
||||||
copyHtml,
|
copyHtml,
|
||||||
copyImages
|
copyImages,
|
||||||
|
copyCustomData
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -111,6 +112,11 @@ function copyImages() {
|
|||||||
.pipe(gulp.dest('Dist/Images'));
|
.pipe(gulp.dest('Dist/Images'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copyCustomData() {
|
||||||
|
return gulp.src('CustomData/**')
|
||||||
|
.pipe(gulp.dest('Dist/CustomData'));
|
||||||
|
}
|
||||||
|
|
||||||
function buildJson() {
|
function buildJson() {
|
||||||
return gulp.src(jsonFiles)
|
return gulp.src(jsonFiles)
|
||||||
.pipe(jsonmin())
|
.pipe(jsonmin())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user