From c04cd05a15479a15fc6a95f7689d0b211f1979dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CPaulo?= Date: Fri, 13 Sep 2024 03:39:42 -0300 Subject: [PATCH] add support for wasm standalone --- modules/wasm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wasm.py b/modules/wasm.py index 80c0afb..02af200 100644 --- a/modules/wasm.py +++ b/modules/wasm.py @@ -731,7 +731,8 @@ def run_task_generate(): l.colored("Compiling ES6 module with emscripten...", l.YELLOW) es6_command = [ *base_command, - "-s" "EXPORT_ES6=1", + "-s", + "EXPORT_ES6=1", "-o", os.path.join(gen_out_dir, "pdfium.esm.js"), ]