Description
Vue - Official extension or vue-tsc version
3.0.0
VSCode version
1.96.2
Vue version
3.5.17
TypeScript version
5.8.3
System Info
Not relevant
package.json dependencies
{
"dependencies": {
"@vue/language-plugin-pug": "^3.0.0",
"@vue/tsconfig": "^0.7.0",
"pug": "^3.0.3",
"typescript": "^5.8.3",
"vue": "^3.5.17",
"vue-tsc": "^3.0.0"
},
"scripts": {
"build": "vue-tsc --noEmit"
}
}
Steps to reproduce
- Try to build a project with the config from the docs (
npm run build
in the example repo)
"vueCompilerOptions": {
"plugins": ["@vue/language-plugin-pug"]
}
- Observe vue-tsc hanging
- Remove
vueCompilerOptions
- Observe build finishing correctly but no type check in the Pug template
What is expected?
Type check and a build that finishes
What is actually happening?
The build hangs with the option enabled, type check is not available if the option is removed.
Link to minimal reproduction
https://github.com/richardsimko/vue-pug-bug
Any additional comments?
No response