forked from external-repos/squoosh
@@ -12,11 +12,7 @@ echo "Compiling libimagequant"
|
|||||||
echo "============================================="
|
echo "============================================="
|
||||||
(
|
(
|
||||||
emcc \
|
emcc \
|
||||||
--bind \
|
|
||||||
${OPTIMIZE} \
|
${OPTIMIZE} \
|
||||||
-s ALLOW_MEMORY_GROWTH=1 \
|
|
||||||
-s MODULARIZE=1 \
|
|
||||||
-s 'EXPORT_NAME="imagequant"' \
|
|
||||||
-I node_modules/libimagequant \
|
-I node_modules/libimagequant \
|
||||||
--std=c99 \
|
--std=c99 \
|
||||||
-c \
|
-c \
|
||||||
@@ -29,6 +25,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"' \
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -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 \
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -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 \
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -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 \
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Reference in New Issue
Block a user