-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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.scope: vaporrelated to vapor moderelated to vapor mode
Description
Vue version
3.6.0-beta.1
Link to minimal reproduction
Steps to reproduce
Open the Playground, compilation fails.
SyntaxError: Identifier '_unref' has already been declared.
Any additional comments?
This isn't specifically a Playground problem, I observed it in a Vite application.
I believe one copy of _unref is needed to handle {{ color }}, because color is a setup-maybe-ref. The other is needed to handle the CSS v-bind.
It only fails for a production build. During dev the {{ color }} binding is handled differently and doesn't use unref.
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.scope: vaporrelated to vapor moderelated to vapor mode