Skip to content

Instantly share code, notes, and snippets.

@baole
Last active August 20, 2026 09:25
Show Gist options
  • Select an option

  • Save baole/3d4f79c241e3ce38340d258f4879b9fa to your computer and use it in GitHub Desktop.

Select an option

Save baole/3d4f79c241e3ce38340d258f4879b9fa to your computer and use it in GitHub Desktop.
wasmDeploy
Pipeline Layer Primary Tool Core Responsibility Output Artifacts
Language Compilation Kotlin Compiler (kotlinc) High-level semantics, IR generation, WasmGC emission Unoptimized .wasm & declarations
Binary Optimization Binaryen (wasm-opt) Dead-code elimination, optimization passes Stripped, smaller .wasm binary
Module Bundling Webpack Generates JavaScript glue code, resolves runtime imports Generic static bundles (composeApp.js, .wasm)
Deployment Hardening wasmDeploy Content-hashing, reference rewriting, precompression, CI budgets, import verification Verified build/wasmDeploy/release
Edge Delivery CDN / Web Server Cache-Control enforcement, Content-Encoding negotiation Client browser runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment