I followed the guides for Tauri 2, but the app shows a blank page with the following error:
Unhandled Promise Rejection: SyntaxError: Unexpected token '='
(anonymous function) — client.js:305
promiseReactionJob
Module Code — client.ts:19
await (pending_invalidate ||= Promise.resolve());
It runs fine in other browsers. It seems like there is an issue with Promise or possibly top-level await.
Is there a switch for Tauri to have top-level await available in the webview?