Skip to content

Commit

Permalink
fix: web build
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalakkal committed Jan 18, 2024
1 parent f9f08ab commit cd39f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2-wasm/scripts/build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ rm temp-pkg/.gitignore
# Copy a modified version of package.json and readme.md to pkg/
node ./scripts/makeSubdirPkg.js

sed -i '' "s|const pkg = await import('../../..');|const pkg = await import('../../../halo2_wasm');|g" temp-pkg/snippets/wasm-bindgen-rayon-7afa899f36665473/src/workerHelpers.js
# sed -i '' "s|const pkg = await import('../../..');|const pkg = await import('../../../halo2_wasm');|g" temp-pkg/snippets/wasm-bindgen-rayon-7afa899f36665473/src/workerHelpers.js

mv temp-pkg pkg/web

0 comments on commit cd39f47

Please sign in to comment.