Merge pull request #99044 from Sticksman/bug-fix-98873
Remove deprecated worker.js file
This commit is contained in:
commit
17e8cf0d87
4 changed files with 4 additions and 19 deletions
|
|
@ -61,7 +61,7 @@ for ext in sys_env["JS_EXTERNS"]:
|
|||
sys_env["ENV"]["EMCC_CLOSURE_ARGS"] += " --externs " + ext.abspath
|
||||
|
||||
build = []
|
||||
build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm", "#bin/godot${PROGSUFFIX}.worker.js"]
|
||||
build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm"]
|
||||
if env["dlink_enabled"]:
|
||||
# Reset libraries. The main runtime will only link emscripten libraries, not godot ones.
|
||||
sys_env["LIBS"] = []
|
||||
|
|
@ -110,6 +110,5 @@ js_wrapped = env.Textfile("#bin/godot", [env.File(f) for f in wrap_list], TEXTFI
|
|||
|
||||
# 0 - unwrapped js file (use wrapped one instead)
|
||||
# 1 - wasm file
|
||||
# 2 - worker file
|
||||
# 3 - wasm side (when dlink is enabled).
|
||||
env.CreateTemplateZip(js_wrapped, build[1], build[2], build[3] if len(build) > 3 else None)
|
||||
# 2 - wasm side (when dlink is enabled).
|
||||
env.CreateTemplateZip(js_wrapped, build[1], build[2] if len(build) > 2 else None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue