Compiler WASM#
# Install the build tool with cargo or brew etc
cargo install wasm-pack
# Build the wasm library
wasm-pack build --release --target web
# Make a tarball to attach to a release
tar -C pkg/ -czvf gleam-v0.34.1-browser.tar.gz .
# Install the build tool with cargo or brew etc
cargo install wasm-pack
# Build the wasm library
wasm-pack build --release --target web
# Make a tarball to attach to a release
tar -C pkg/ -czvf gleam-v0.34.1-browser.tar.gz .