Q: How do I make the resulting executable smaller?
A: Compress the binary with https://upx.github.io/
Q: Does Scala Native support WebAssembly?
A: Support for WebAssembly is out of scope for the project.
If you need to run Scala code in the browser, consider using