Closed
Description
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
Type something in the input.
What is expected?
No error.
What is actually happening?
ReferenceError: query is not defined
System Info
No response
Any additional comments?
The error occurs only in production mode.
There is no error if there is nothing in the <script setup>
block.
There is no error if data
is an arrow function.