You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating vite from v6.0.6 to v6.0.7, vite-plugin-top-level-await doesn't work anymore. vite-plugin-top-level-await is required by vite-plugin-wasm and many other wasm packages.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
After updating
vite
from v6.0.6 to v6.0.7,vite-plugin-top-level-await
doesn't work anymore.vite-plugin-top-level-await
is required byvite-plugin-wasm
and many other wasm packages.Reproduction
https://github.com/issueset/vite-plugin-top-level-await-regression
Steps to reproduce
Here is a minimal example to show the error with vite v6.0.7:
Here is the same example with vite v6.0.6, which works fine:
System Info
System: OS: macOS 15.1.1 CPU: (8) arm64 Apple M2 Memory: 66.14 MB / 24.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.18.1 - /opt/homebrew/opt/node@20/bin/node Yarn: 1.22.21 - /opt/homebrew/opt/node@18/bin/yarn npm: 10.8.2 - /opt/homebrew/opt/node@20/bin/npm pnpm: 8.15.9 - /opt/homebrew/opt/node@18/bin/pnpm bun: 1.1.26 - /opt/homebrew/bin/bun Browsers: Brave Browser: 122.1.63.169 Chrome: 131.0.6778.264 Chrome Canary: 134.0.6944.0 Safari: 18.1.1 Safari Technology Preview: 18.2 npmPackages: vite: 6.0.7 => 6.0.7
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: