godot-docs
godot-docs copied to clipboard
Update compiling for the web
Update the page to follow the rename of the javascript platform to web for Godot 4.
I am unsure how to mention production=yes and use_closure_compiler=yes, given that the original doesn't mention LTO.
Source: https://github.com/godotengine/godot-build-scripts/blob/872c9bfe0ebdc032e6ad48f5bdda759d4e024041/build-release.sh#L274-L287 https://github.com/godotengine/godot-build-scripts/blob/872c9bfe0ebdc032e6ad48f5bdda759d4e024041/build-web/build.sh#L10-L16