Clone in a terminal:
build.sh
#!/bin/sh
set -e

wasm-pack build \
    --release \
    --target web \
    --out-dir pkg \
    --out-name componentexample \
    --no-typescript

cp index.html pkg/
cp main.js pkg/
cp styles.css pkg/

File history (2 commits)

90d875f Johan Mattsson - johan.mattsson.m@gmail.com
Delete old sketch
Delete old sketch
c8b0c25 Johan Mattsson - johan.mattsson.m@gmail.com
Component sketch
Component sketch

Contact

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