-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
vite build fail,when use vite-plugin-top-level-await #214
Comments
Hi @menghany, from
to
and now it's working. So I'm woundering if it's a specific problem of |
I have the exact same error on my app, also using I fixed that by not using this plugin at all. |
You can use the build -> target Vite config. |
@gioboa The most used browsers: chrome, safari, edge... |
Yep, even if it's called |
When building my project, I want to ensure compatibility with older browsers, so I modified the build configuration in the demo. However, after completing the build, it fails to run.



my build command success
cd /examples/vite-vite/vite-remote
pnpm run build
When i run
pnpm run preview
is error
The text was updated successfully, but these errors were encountered: