5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 17:31:42 +00:00

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 $@