Update build commands
build.sh
#!/bin/sh
set -e
wasm-pack build \
--release \
--target web \
--out-dir pkg \
--out-name clickcounter \
--no-typescript
cp index.html pkg/
cp main.js pkg/
cp styles.css pkg/
File history (2 commits)
Clock counter example