The combination of specific statements and comments can cause errors (vite
& vite build
)
#3542
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
In a
*.vue
file with certain statements and comments, a strange error will appear after runningyarn dev
(vite) and previewing the page in the browser:Reproduction
The code must have these points:
export default
statementyarn dev
(vite), but after the page has been tried to preview. (actually, bothvite
+previewing andvite build
)Element is missing end tag
.expand to view another error
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: yarn
The text was updated successfully, but these errors were encountered: