Skip to content

Commit

Permalink
Add worker to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
HKalbasi committed Jan 15, 2024
1 parent 829cc8b commit c78006a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_example_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
cat dist/index.html > dist/404.html
cp node_modules/z3-solver/build/z3-built.js dist/
cp node_modules/z3-solver/build/z3-built.wasm dist/
cp node_modules/z3-solver/build/z3-built.worker.wasm dist/
cp dist/static/enable-threads.js dist/.
- name: Deploy to github pages
Expand Down
2 changes: 1 addition & 1 deletion front/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="/static/hakim-json.js"></script>
</body>

<script src="z3-built.js"></script>
<script src="/z3-built.js"></script>
<script>
globalThis.global = { initZ3: globalThis.initZ3 };
</script>
Expand Down

0 comments on commit c78006a

Please sign in to comment.