-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android webview #20
Comments
Could you test your bundle with Chrome with the same version? Or could you connect to the WebView with remote inspector ( |
No, unfortunately not. The issue is, that browser traget |
I did now furhter testing. [vite:esbuild-transpile] Transform failed with 2 errors:
assets/database.14e162eb.js:27746:19: ERROR: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1") although having this "devDependencies": {
"vite-plugin-top-level-await": "^1.2.2"
} Any ideas? What I'm doing wrong ? |
Please post your project for reproduce |
You can close this. |
Seems to be, that this doesn't work for Android's webview (vue->vite->capacitor->android-Studio)
Still have to use API31 (Android12) as minimum for top level awaits and browser-target must be
es2022
Can anyone confirm?
The text was updated successfully, but these errors were encountered: