Back to Gleam

Compiler WASM

compiler-wasm/README.md

1.18.1354 B
Original Source
<!-- SPDX-License-Identifier: Apache-2.0 SPDX-FileCopyrightText: 2021 The Gleam contributors -->

Compiler WASM

sh
# 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-v1.1.0-browser.tar.gz .