SDL2 cross-compiles to JavaScript properly and should be used by most things now.
I feel like I'm just asking dumb toolchain questions because I'm missing something fundamental about targeting an executable build to the browser.
https://kripken.github.io/emscripten-site/docs/porting/conne...
SDL2 cross-compiles to JavaScript properly and should be used by most things now.