diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-03-08 17:29:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 17:29:48 +0100 |
commit | 8507b69c13d7fdf62dd0e7d3ecd6ff34b4faf9c6 (patch) | |
tree | 70eb669174285c5f3db0a574ed9dbbc114afb994 /platform/javascript/detect.py | |
parent | 8af3d566310b32def773220167e796731b3c4124 (diff) | |
parent | d8bd54fbf2c3d10ece692da1a9b47e766cc95fee (diff) |
Merge pull request #46796 from Faless/js/4.x_pwa_simple
[HTML5] Add PWA support to the editor page.
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r-- | platform/javascript/detect.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 4297088c09..e80ef374ec 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -7,7 +7,7 @@ from emscripten_helpers import ( add_js_libraries, add_js_pre, add_js_externs, - get_build_version, + create_template_zip, ) from methods import get_compiler_version from SCons.Util import WhereIs @@ -147,12 +147,12 @@ def configure(env): env.AddMethod(add_js_pre, "AddJSPre") env.AddMethod(add_js_externs, "AddJSExterns") - # Add method for getting build version string. - env.AddMethod(get_build_version, "GetBuildVersion") - # Add method that joins/compiles our Engine files. env.AddMethod(create_engine_file, "CreateEngineFile") + # Add method for creating the final zip file + env.AddMethod(create_template_zip, "CreateTemplateZip") + # Closure compiler extern and support for ecmascript specs (const, let, etc). env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT6" |