Skip to content

fix(web): emit sqlite3mc runtime assets unhashed so production builds… - #58

Merged
Thunkar merged 1 commit into
mainfrom
gj/v5rc2update
Jul 6, 2026
Merged

Thunkar merged 1 commit into
mainfrom
gj/v5rc2update

Conversation

@Thunkar

@Thunkar Thunkar commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

… can load them

Since SQLite3MultipleCiphers 2.3.5 (aztec-packages#24293, in rc.2) the sqlite3mc loader resolves sqlite3.wasm through Module['locateFile'] with a dynamic path the bundler can't rewrite; production builds request unhashed assets/sqlite3.wasm relative to the worker chunk and 404 ('unsupported MIME type' follow-up). Dev is unaffected. Emit the wasm and the OPFS async-proxy script under their original names at build time. Same fix as aztec-kit's sqliteRuntimeAssetsPlugin.

… can load them

Since SQLite3MultipleCiphers 2.3.5 (aztec-packages#24293, in rc.2) the
sqlite3mc loader resolves sqlite3.wasm through Module['locateFile'] with a
dynamic path the bundler can't rewrite; production builds request unhashed
assets/sqlite3.wasm relative to the worker chunk and 404 ('unsupported
MIME type' follow-up). Dev is unaffected. Emit the wasm and the OPFS
async-proxy script under their original names at build time. Same fix as
aztec-kit's sqliteRuntimeAssetsPlugin.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Thunkar
Thunkar merged commit 107d082 into main Jul 6, 2026
2 checks passed
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚀 Web wallet deployed!

Preview URL: https://demo-wallet-ooy8c0h42-thunkars-projects.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant