swc/bindings/binding_core_wasm/scripts/test.sh

6 lines
111 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
wasm-pack build --out-name wasm --release --scope=swc --target nodejs
npx jest $@