Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Update build.sh

Surma0a2a4122dcb4
diff --git a/codecs/hqx/build.sh b/codecs/hqx/build.sh
index 30d6e997..6eadb9e8 100755
--- a/codecs/hqx/build.sh
+++ b/codecs/hqx/build.sh
@@ -10,7 +10,7 @@ echo "============================================="
wasm-pack build --target no-modules
wasm-strip pkg/squooshhqx_bg.wasm
echo "Optimising Wasm so it doesn't break Chrome (this takes like 10-15mins. get a cup of tea)"
- echo "Once https://bugs.chromium.org/p/chromium/issues/detail?id=97480 is fixed, we can remove this step"
+ echo "Once https://crbug.com/974804 is fixed, we can remove this step"
wasm-opt -Os --no-validation -o pkg/squooshhqx_bg.wasm pkg/squooshhqx_bg.wasm
rm pkg/.gitignore
)