gleam/compiler-wasm
2023-09-27 12:32:12 +01:00
..
src Apply clippy 0.1.73 suggestions 2023-09-09 17:58:33 +01:00
Cargo.toml Dev version 2023-09-27 12:32:12 +01:00
LICENCE Turns out we need the licences in each crate 2021-12-05 17:18:02 +00:00
README.md Update compiler-wasm/README.md to mention how to run the tests 2021-12-29 20:19:03 -05:00

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