From 758c08ec859c11e94cfd5a13ecad6e9d4aedc26d Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 20 Jul 2024 20:55:38 +0300 Subject: [PATCH] build: Remove map files & ts files --- bin/copy-trilium.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index f0ff72888..141e988e0 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -60,6 +60,8 @@ if [[ -d "$DIR"/node_modules ]]; then fi find $DIR/libraries -name "*.map" -type f -delete +find $DIR/node_modules -name "*.map" -type f -delete +find $DIR -name "*.ts" -type f -delete d="$DIR"/src/public [[ -d "$d"/app-dist ]] || mkdir -pv "$d"/app-dist