Skip to content

Build your personal knowledge base with Trilium Notes

build: Remove map files & ts files

Elian Doran758c08ec859c
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index f0ff728886..141e988e0e 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