Where is the godot.js source/history

Godot Version

3.6

Question

The web export template contains this godot.js file, implementing the JavaScript side of the engine. I am trying to make sense of some of its parts that appear to be unused, and tried to look into it’s change history, but can’t seem to find it anywhere on Godots GitHub. Where do I look for it?

As far as I know, godot.js is generated during the build process, so you’ll never find it included in the repo.
However, most of the info about how it’s built can be found in platform/web.

2 Likes

I guess I’ll leave this for another day then. Parts of it just aren’t anywhere in the repository, SCons or EMS must be pulling them from somewhere else.