Use wbpack for website

This commit is contained in:
Andras Schmelczer 2025-07-06 15:16:51 +01:00
parent a2119b0f32
commit f07aa5faa7
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
13 changed files with 6189 additions and 481 deletions

View file

@ -5,9 +5,5 @@ set -e
wasm-pack build --target web --features wasm,wee_alloc
cd reconcile-js
npm run build
mkdir -p ../examples/website/dist
cp -R dist/index.js ../examples/website/dist/index.js
cd ../examples/website
python3 -m http.server $1 --bind 0.0.0.0
npm run start