We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
With vitejs v2.0.0-beta.50 We can use await in a top level
<script setup> import { query } from '~core/Query' const { data } = await query(`{}`) </script>
I try to update to vitejs v2.0.0-beta.70 and i got this error error: Top-level await is currently not supported when bundling
error: Top-level await is currently not supported when bundling
In the script setup rfc doc the await top level is allowed
I'm missing something ?
vite
The text was updated successfully, but these errors were encountered:
24ed098
No branches or pull requests
Describe the bug
With vitejs v2.0.0-beta.50
We can use await in a top level
I try to update to vitejs v2.0.0-beta.70 and i got this error
error: Top-level await is currently not supported when bundling
In the script setup rfc doc the await top level is allowed
I'm missing something ?
System Info
vite
version: v.2.0.0-beta-70The text was updated successfully, but these errors were encountered: