Toolchain
Build a custom WASM via Docker — trim symbols, extend with C++, ship reproducible CI.
Pull the multi-arch GHCR image, link a custom YAML, trim symbols to the surface you need, extend
with your own C++ via additionalCppCode, and ship reproducible CI builds with provenance and SBOM.
Quickstart — Docker
Pull a GHCR image, link a custom YAML, build a trimmed wasm in 2 minutes.
Trim symbols
Reduce wasm size by binding only the OCCT classes your app uses.
Extend with C++
Add custom C++ via additionalCppCode, additionalCppFiles, and additionalBindCode.
YAML schema
Reference for the custom build YAML schema.
Two channels of configuration
Compile-time OCJS_* environment variables and link-time emccFlags in your build YAML control
different aspects of the output. See Two-channel config model
for the full picture.