### Version 3.2.26 ### Reproduction link [codesandbox.io](https://codesandbox.io/s/vue-issue-5189-x9ebd?file=/package.json:74-78) ### Steps to reproduce 1. Run vite with `--mode production` 2. Restart server ### What is expected? "hello" should be displayed ### What is actually happening? "default" is displayed --- In `src/components/Parent.vue`: ```html <template v-if="true"> <Child v-if="true" /> </template> ``` <!-- generated by vue-issues. DO NOT REMOVE -->