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