The generated code in `sql-wasm.js` [mentions][1] Emscripten issue: emscripten-core/emscripten#5820. This issue was fixed in PR emscripten-core/emscripten#10697 and [released as version 13.9.16](https://github.com/emscripten-core/emscripten/blob/master/ChangeLog.md#13916-05152020) in May 2020. I think removing manual modularization will simplify sql.js build process. [1]: https://github.com/sql-js/sql.js/blob/master/src/shell-pre.js