Web: Bump closure compiler spec to ECMASCRIPT_2021

Fixes #88008.

(cherry picked from commit d29b0d90e0)
This commit is contained in:
Rémi Verschelde 2024-02-06 09:19:07 +01:00
parent 32fcc88c23
commit 246b85c686
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -151,7 +151,7 @@ def configure(env):
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 ECMASCRIPT6" env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT_2021"
env["CC"] = "emcc" env["CC"] = "emcc"
env["CXX"] = "em++" env["CXX"] = "em++"