Use wrapper in example
This commit is contained in:
parent
1bc6117045
commit
ae5940718e
6 changed files with 44 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue