-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas PRA pull request has already been submitted to solve the issueA pull request has already been submitted to solve the issuescope: compilerscope: script-setup
Description
Vue version
3.2.47
Link to minimal reproduction
https://github.com/houd1ni/vue-issues
Steps to reproduce
- npm i
- npm run dev
- open in a browser (mine is ff latest).
- See the console.
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
ff111.0b3 @ win10x64 intel 12100 w 32GbDDR43200.
node v19.2.0
Any additional comments?
😭
sxzz
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas PRA pull request has already been submitted to solve the issueA pull request has already been submitted to solve the issuescope: compilerscope: script-setup