-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
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
Vue 3 SFC Compiler function call with semicolon bug. #7805
Comments
I think this is a |
In this case, it cannot be parsed normally。 |
#7810 Sorry, this pr does not solve this problem perfectly. I have to rethink the solution.So I closed it, I'm sorry. |
Vue version
3.2.47
Link to minimal reproduction
https://github.com/houd1ni/vue-issues
Steps to reproduce
At first glance, it is a sfc compiler stuff.
If it is a vite's issue, I'd open it there and close here, though.
What is expected?
Clean console, Compo.vue output with its' hello.
What is actually happening?
It is crashing because the compiler removes semicolons and moves ;(window) after a function call.
System Info
Any additional comments?
😭
The text was updated successfully, but these errors were encountered: