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
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 https://github.com/vuejs/vue-next instead.
Describe the bug
Vite throws a syntax error (from acorn) when loading a module using
??=
for SSR.Reproduction
System Info
vite
version: 2.1.0Logs (Optional if provided reproduction)
I think this should be fixed by updating acorn's
ecmaVersion
from 2020 to 2021 (or "latest").The text was updated successfully, but these errors were encountered: