Closed leookun closed 8 months ago
Thanks for your report. It happens because everything except ElementNode's is optimized away in the root. I'll fix this behaviour
Should be fixed now. Playground now produces as expected:
import { ref } from 'vue';
import { toDisplayString as _toDisplayString } from "vue";
export default {
setup () {
const name = ref('fervid');
return (_ctx, _cache)=>_toDisplayString(1 + 1);
}
};