mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
11 lines
305 B
Bash
11 lines
305 B
Bash
#!/bin/bash
|
|
|
|
for f in $(find . -type d \( -path ./node_modules -o -path ./dist -o -path ./esm -o -path ./lib -o -path ./packages/amis/sdk \) -prune -type f -o -name "*.svg"); do
|
|
#sed -i '' -e "s/@fex\///g" $f
|
|
echo "imagemin $f"
|
|
echo $(imagemin $f) >$f
|
|
|
|
# git checkout $f
|
|
# imagemin $f > $f
|
|
done
|