fix(web): Avoid timestamping main.mjs.gz (#412)

Improves reproducibility.
This commit is contained in:
Jan Alexander Steffens 2025-05-01 21:52:50 +02:00 committed by GitHub
parent 5d9cc40e34
commit 76f2029fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ for the JavaScript code in this page.
*/'
esbuild js/main.mjs --sourcemap --bundle --minify --outfile=static/js/main.mjs "--banner:js=${LICENSE}"
gzip -f -k static/js/main.mjs
gzip -f -k -n static/js/main.mjs
zstd -f -k --ultra -22 static/js/main.mjs
brotli -fZk static/js/main.mjs