TRIX-33 No need to gzip jpegs during build.
This commit is contained in:
parent
ec15cc7c9d
commit
6882d36810
@ -63,7 +63,7 @@ For production (shakes tree, minifies and gzips to get smaller size):
|
|||||||
|
|
||||||
pushd app
|
pushd app
|
||||||
ng build --prod
|
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";
|
gzip --best "$f";
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
Reference in New Issue
Block a user