TRIX-33 No need to gzip jpegs during build.

This commit is contained in:
Marsell Kukuljevic 2021-06-07 00:47:34 +02:00
parent ec15cc7c9d
commit 6882d36810

View File

@ -63,7 +63,7 @@ For production (shakes tree, minifies and gzips to get smaller size):
pushd app
ng build --prod
for f in $(find dist -type f -not -name '*.html' -not -name '*.png'); do
for f in $(find dist -type f -not -name '*.html' -not -name '*.png' -not -name '*.jpg'); do
gzip --best "$f";
done
popd