From fa1b000bfef332f31e88327739d8eee0330749bf Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 16 May 2020 11:37:40 +0100 Subject: [PATCH] only delete .html files during html clean --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index d8e3750..2cd3509 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -37,7 +37,7 @@ function cssClean() { } function htmlClean() { - return del(htmlDest, { force: true }); + return del(path.join(htmlDest, '*.html'), { force: true }); } function assetClean() {