forked from external-repos/squoosh
Closure all the things
This commit is contained in:
@@ -14,6 +14,7 @@ echo "============================================="
|
|||||||
emcc \
|
emcc \
|
||||||
--bind \
|
--bind \
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
|
--closure 1 \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||||||
-s MODULARIZE=1 \
|
-s MODULARIZE=1 \
|
||||||
-s 'EXPORT_NAME="imagequant"' \
|
-s 'EXPORT_NAME="imagequant"' \
|
||||||
@@ -29,6 +30,7 @@ echo "============================================="
|
|||||||
emcc \
|
emcc \
|
||||||
--bind \
|
--bind \
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
|
--closure 1 \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||||||
-s MODULARIZE=1 \
|
-s MODULARIZE=1 \
|
||||||
-s 'EXPORT_NAME="imagequant"' \
|
-s 'EXPORT_NAME="imagequant"' \
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ echo "============================================="
|
|||||||
emcc \
|
emcc \
|
||||||
--bind \
|
--bind \
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
|
--closure 1 \
|
||||||
-s WASM=1 \
|
-s WASM=1 \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||||||
-s MODULARIZE=1 \
|
-s MODULARIZE=1 \
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ echo "============================================="
|
|||||||
(
|
(
|
||||||
emcc \
|
emcc \
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
|
--closure 1 \
|
||||||
--bind \
|
--bind \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||||||
-s MODULARIZE=1 \
|
-s MODULARIZE=1 \
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ echo "============================================="
|
|||||||
(
|
(
|
||||||
emcc \
|
emcc \
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
|
--closure 1 \
|
||||||
--bind \
|
--bind \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||||||
-s MODULARIZE=1 \
|
-s MODULARIZE=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user