From ab8ffa0fd379a61090337e92a7235b1a6ee63862 Mon Sep 17 00:00:00 2001 From: Lars van Braam Date: Mon, 22 Jul 2019 09:52:12 +0200 Subject: [PATCH] Update the cleanup script to only remove specific files. #86 --- build-tools/script/cleanup.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-tools/script/cleanup.js b/build-tools/script/cleanup.js index 70763bda..6e11ebd0 100644 --- a/build-tools/script/cleanup.js +++ b/build-tools/script/cleanup.js @@ -36,7 +36,9 @@ function clean() { path.join(projectRoot, 'src/app/svg/icon/*.svg'), // pages - path.join(projectRoot, 'src/data/*'), + path.join(projectRoot, 'src/data/home.yaml'), + path.join(projectRoot, 'src/data/about.yaml'), + path.join(projectRoot, 'src/data/test.js'), // blocks path.join(projectRoot, 'src/app/component/block/paragraph'),