The wrapper size is indeed quite large at the moment.
It might be worth investigating the compilation flags for the javascript compilation at some point.
Closing this issue as the entire buildsystem for the web compilation is now directly inherited from godot-cpp.
Any modification of the compilation flags needs to be done on their side.
The wasm file in the demo is located at
demo\addons\godot-sqlite\bin\javascript\libgdsqlite.wasm
, 3536KB in size.The
sqlite3.wasm
file used here only has 779.89 KB. (the wasm file)The wrapper size = 3536KB - 779.89 KB = 2756KB. So large?