From ca8e9be31c415a9b24c92b67e7fa9394007f3cb3 Mon Sep 17 00:00:00 2001 From: Dmitry Ivakhnenko Date: Mon, 12 Dec 2022 12:40:36 +0300 Subject: [PATCH] enable closure compiler --- javascript/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/javascript/Makefile b/javascript/Makefile index 35177bcf..da31b84f 100644 --- a/javascript/Makefile +++ b/javascript/Makefile @@ -8,9 +8,11 @@ asm: -Isources \ -g0 \ -Os \ + --closure 1 \ --memory-init-file 0 \ -s WASM=0 \ -s WASM_ASYNC_COMPILATION=0 \ + -s USE_CLOSURE_COMPILER=1 \ -s USE_ES6_IMPORT_META=0 \ -s MODULARIZE=1 \ -s ASSERTIONS=0 \