webpack también gzipea

This commit is contained in:
f 2020-06-25 16:38:37 -03:00
parent e3ca85d5b2
commit 4d47e851ee

View file

@ -14,7 +14,7 @@ public/assets-production: $(assets)
public/packs-production: public/packs
rm -rf $@
mv $< $@
find $@ -type f | xargs -rI {} sh -c "brotli -k -9 {}; gzip -9 -k {}"
find $@ -type f | xargs -r brotli -k -9
mkdir -p $<
touch $@