mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Merge pull request #728 from kripken/closure
Use closure in optipng build, which shrinks the JS to less than half
This commit is contained in:
@@ -27,6 +27,7 @@ echo "============================================="
|
||||
emcc \
|
||||
--bind \
|
||||
${OPTIMIZE} \
|
||||
--closure 1 \
|
||||
-s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s 'EXPORT_NAME="optipng"' \
|
||||
-o "optipng.js" \
|
||||
--std=c++11 \
|
||||
|
||||
Reference in New Issue
Block a user