This reverts commit 7b84904d15.
This commit is contained in:
parent
7b84904d15
commit
b1c276db9f
13 changed files with 234 additions and 335 deletions
12
web/build.sh
12
web/build.sh
|
|
@ -32,9 +32,9 @@ THE SOFTWARE.
|
|||
for the JavaScript code in this page.
|
||||
*/'
|
||||
|
||||
for file in js/*.mjs js/worker/*.mjs; do
|
||||
esbuild "${file}" --sourcemap --bundle --minify --outfile=static/"${file}" --banner:js="${LICENSE}"
|
||||
gzip -f -k -n static/${file}
|
||||
zstd -f -k --ultra -22 static/${file}
|
||||
brotli -fZk static/${file}
|
||||
done
|
||||
esbuild js/main.mjs --sourcemap --bundle --minify --outfile=static/js/main.mjs "--banner:js=${LICENSE}"
|
||||
gzip -f -k -n static/js/main.mjs
|
||||
zstd -f -k --ultra -22 static/js/main.mjs
|
||||
brotli -fZk static/js/main.mjs
|
||||
|
||||
esbuild js/bench.mjs --sourcemap --bundle --minify --outfile=static/js/bench.mjs
|
||||
Loading…
Add table
Add a link
Reference in a new issue