Reactivity Transform: Fails to transform $ref() when used on an export
Version
3.2.27
Reproduction link
Steps to reproduce
Check out the PLayground. it fails with $ref is not defined
The Test.ts file in the playground has instructions for a workaround, demonstrating the transform only fails when used on an export
What is expected?
$ref()
is being transformed, and App.vue succeeds in importing and using the export.
What is actually happening?
$ref()
is left in the code untransformed, leading to a ReferenceError at runtime.