TypeScript inline type annotation in Vue SFC with Pug be compiled wrong when $vite
#10512
Closed
7 tasks done
Labels
duplicate
This issue or pull request already exists
Describe the bug
This can work well when
$vite build
and$vite preview
, but will be compiled to js codes like below when$vite
:Hence I can't debug the project as usual.
Reproduction
https://stackblitz.com/edit/vitejs-vite-bzofkr?file=App.vue
Steps to reproduce
No response
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: