From cab5da7f1a9398b845a3eb03536de910c5d1f16a Mon Sep 17 00:00:00 2001 From: adam j hartz Date: Thu, 31 Jul 2025 04:19:52 -0400 Subject: [PATCH] gh-137025: Include ``python.worker.mjs`` in the Emscripten Web Example (GH-137236) (cherry picked from commit d5191ba99b8f7723cbdb9b7a07ef8a3eef6524c1) Co-authored-by: adam j hartz --- Makefile.pre.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 01e10d1ab209ae..0dd9149d0de22b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1109,6 +1109,10 @@ web_example/index.html: $(WEBEX_DIR)/index.html @mkdir -p web_example @cp $< $@ +web_example/python.worker.mjs: $(WEBEX_DIR)/python.worker.mjs + @mkdir -p web_example + @cp $< $@ + web_example/server.py: $(WEBEX_DIR)/server.py @mkdir -p web_example @cp $< $@ @@ -1126,7 +1130,7 @@ web_example/python.mjs web_example/python.wasm: $(BUILDPYTHON) cp python.wasm web_example/python.wasm .PHONY: web_example -web_example: web_example/python.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB) +web_example: web_example/python.mjs web_example/python.worker.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB) WEBEX2=web_example_pyrepl_jspi WEBEX2_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/