Open
Description
With:
{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.vitest.json"
},
{
"path": "./tsconfig.app.json"
}
]
}
Instead of:
{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.vitest.json"
}
]
}
And enabling "vue.server.reverseConfigFilePriority": true
, Volar and the builtin TypeScript integration of VS Code correctly select tsconfig.app.json
for Vue & TS files, and tsconfig.vitest.json
for test files, otherwise the order is a bit messed up and you sometimes get tsconfig.vitest.json
for non-test Vue & TS files.
Metadata
Assignees
Labels
No labels