build: Remove map files & ts files

This commit is contained in:
Elian Doran 2024-07-20 20:55:38 +03:00
parent cb0d1d80a1
commit 758c08ec85
No known key found for this signature in database

View File

@ -60,6 +60,8 @@ if [[ -d "$DIR"/node_modules ]]; then
fi fi
find $DIR/libraries -name "*.map" -type f -delete 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="$DIR"/src/public
[[ -d "$d"/app-dist ]] || mkdir -pv "$d"/app-dist [[ -d "$d"/app-dist ]] || mkdir -pv "$d"/app-dist