mirror of
https://github.com/gleam-lang/gleam.git
synced 2025-12-23 09:47:08 +00:00
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENCE | ||
| README.md | ||
Compiler WASM
# Install the build tool
cargo install wasm-pack
# Build the library
wasm-pack build
# Or, build and copy to a directory
wasm-pack build --out-dir /home/${USER}/projects/gleam-playground/gleam-wasm
Run tests using node with the compiled WebAssembly.
wasm-pack test --node