Use wrapper in example

This commit is contained in:
Andras Schmelczer 2025-07-04 03:09:11 +01:00
parent 1bc6117045
commit ae5940718e
6 changed files with 44 additions and 40 deletions

View file

@ -2,13 +2,11 @@
set -e
rm -rf pkg
wasm-pack build --target web --features wasm
cd reconcile-js
npm run build
cp -R dist ../examples/website
cp -R pkg/reconcile.js examples/website/
cp -R pkg/reconcile_bg.wasm examples/website/
cd examples/website/
cd ../examples/website
python3 -m http.server $1 --bind 0.0.0.0