Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.
(cherry picked from commit d29b0d90e0
)
This commit is contained in:
parent
5b4c5c4118
commit
193592d532
|
@ -158,7 +158,7 @@ def configure(env: "Environment"):
|
||||||
env.AddMethod(create_template_zip, "CreateTemplateZip")
|
env.AddMethod(create_template_zip, "CreateTemplateZip")
|
||||||
|
|
||||||
# Closure compiler extern and support for ecmascript specs (const, let, etc).
|
# Closure compiler extern and support for ecmascript specs (const, let, etc).
|
||||||
env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT_2020"
|
env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT_2021"
|
||||||
|
|
||||||
env["CC"] = "emcc"
|
env["CC"] = "emcc"
|
||||||
env["CXX"] = "em++"
|
env["CXX"] = "em++"
|
||||||
|
|
Loading…
Reference in New Issue