Trimming Swift WebAssembly bundles
A default SwiftWasm build can produce a multi-megabyte .wasm file, but
careful use of wasm-opt, dead-code stripping, and --strip-all can
bring it down dramatically. This post walks through the optimisation
pipeline we use for the Swift Everywhere demos.