Skip to content

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

JavaScript

Fix nit

Mathias Bynens3f8afb72a618
diff --git a/codecs/hqx/build.sh b/codecs/hqx/build.sh
index 4a4adcd5..30d6e997 100755
--- a/codecs/hqx/build.sh
+++ b/codecs/hqx/build.sh
@@ -9,7 +9,7 @@ echo "============================================="
rustup run nightly \
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 "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"
wasm-opt -Os --no-validation -o pkg/squooshhqx_bg.wasm pkg/squooshhqx_bg.wasm
rm pkg/.gitignore