c03f67121dd8
vite.config.mobile.ts: define __PEACH_E2E_PASSKEYS__ = false. Without it passkey.ts threw ReferenceError at module init, blocking the dynamic import of background/messages and leaving the chrome shim's _handler null
- time
- 2026-05-07 02:43 UTC · 5 months ago
- machine
- koh2
- parent
- 96f9b36fbbaf
↓ peach-browser-c03f6712.tar.gzatlas at this save
files changed1 file
vite.config.mobile.ts+4 −0vite.config.mobile.ts+4 −0
@@ -13,6 +13,10 @@1313 })1414 ),1515 __VERSION__: JSON.stringify(process.env.npm_package_version ?? "0.0.0"),16+ // passkey.ts references this at module init via PASSKEY_CREATE_E2E_BYPASS.17+ // Must be replaced at build time or the popup boot throws ReferenceError18+ // and every sendMessage on Android sits in the shim queue forever.19+ __PEACH_E2E_PASSKEYS__: JSON.stringify(false),1620 },1721 build: {1822 outDir: "dist-mobile",