This is a POC based on what is described in Load-time Dynamic Linking of the Emscripten docs. It splits the entire project into more than one WASM modules and links them at load time. Also include a sample makefile to show how to build the project by applying the tips described in the section Code Size.