fix(reactivity-transform): apply transform on exported variable declarations

fix #5298
This commit is contained in:
Evan You
2022-01-21 07:40:35 +08:00
parent ae4b0783d7
commit a81a9922bb
3 changed files with 10 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ exports[`$ unwrapping 1`] = `
"
import { ref, shallowRef } from 'vue'
let foo = (ref())
let a = (ref(1))
export let a = (ref(1))
let b = (shallowRef({
count: 0
}))