- rustup target add wasm32-unknown-unknown
- install wasm-bindgen
cargo install wasm-bindgen-cli
- install wasm-pack
cargo install wasm-pack
- install tsc
npm install -g typescript
- install deno
curl -fsSL https://deno.land/install.sh | sh # macos or linux irm https://deno.land/install.ps1 | iex # windows
- run script:
deno task build
output to pkg folder