Skip to content

Commit

Permalink
Web: Bump closure compiler spec to ECMASCRIPT_2021
Browse files Browse the repository at this point in the history
Fixes godotengine#88008.

(cherry picked from commit d29b0d9)
  • Loading branch information
akien-mga committed Mar 9, 2024
1 parent 5b4c5c4 commit 193592d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/web/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def configure(env: "Environment"):
env.AddMethod(create_template_zip, "CreateTemplateZip")

# 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["CXX"] = "em++"
Expand Down

0 comments on commit 193592d

Please sign in to comment.