Skip to content

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

JavaScript

Remove unneeded compile flags from imagequant

Alon Zakaid7fb0d9b4066
diff --git a/codecs/imagequant/build.sh b/codecs/imagequant/build.sh
index a1ba5115..2102c440 100755
--- a/codecs/imagequant/build.sh
+++ b/codecs/imagequant/build.sh
@@ -12,12 +12,7 @@ echo "Compiling libimagequant"
echo "============================================="
(
emcc \
- --bind \
${OPTIMIZE} \
- --closure 1 \
- -s ALLOW_MEMORY_GROWTH=1 \
- -s MODULARIZE=1 \
- -s 'EXPORT_NAME="imagequant"' \
-I node_modules/libimagequant \
--std=c99 \
-c \