Skip to content

Commit

Permalink
Web: Bump closure compiler spec to ECMASCRIPT_2021
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Feb 6, 2024
1 parent d335281 commit d29b0d9
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 @@ -169,7 +169,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 d29b0d9

Please sign in to comment.