diff options
Diffstat (limited to '_import.sh')
-rwxr-xr-x | _import.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,7 +20,8 @@ do sed -i "" 's/height="24px"//g' ${file} sed -i "" 's/xmlns="http:\/\/www.w3.org\/2000\/svg"//g' ${file} sed -i "" 's/<path d="M0 0h24v24H0z"\/>"//g' ${file} - sed -i "" 's/<path stroke="red" stroke-width=".1" [^"]+\/>//g' ${file} + sed -i "" 's/<path stroke="red" stroke-width=".1" d="M5 1l18 18"\/>//g' ${file} + sed -i "" 's/<path stroke="red" stroke-width=".1" d="M3 3l18 18"\/>//g' ${file} done svgo -f ./new/ --pretty --disable mergePaths @@ -32,3 +33,5 @@ do done cp ./new/* ./src/_icons/ +gulp optimize + |