Clone in a terminal:
build.sh
examples/clickcounter/ - Update build commands
#!/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)

62dcf38 Johan Mattsson - johan.mattsson.m@gmail.com
Update build commands
Update build commands
bf5df00 Johan Mattsson - johan.mattsson.m@gmail.com
Clock counter example
Clock counter example

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112