Acknowledgement
Comment
Issues: vuejs/language-tools#3951, vuejs/language-tools#1815
For the root file, tsserver selects the last matching tsconfig in the list of tsconfig references for it.
But for external files, tsserver selects the first matching tsconfig in the list of tsconfig references for it.
Steps to reproduce
- Clone segevfiner/vite-issue-1815
- Open the repo in VSCode, install marketplace.visualstudio.com/items?itemName=Vue.volar 2.0.4
- Open
apps/web/src/main.ts, and check the tsconfig at status bar, it's apps/web/tsconfig.app.json

- Open
apps/web/src/App.vue, and check the tsconfig at status bar, it's apps/web/tsconfig.vitest.json, but expected same as apps/web/src/main.ts

Acknowledgement
Comment
Issues: vuejs/language-tools#3951, vuejs/language-tools#1815
For the root file, tsserver selects the last matching tsconfig in the list of tsconfig references for it.
But for external files, tsserver selects the first matching tsconfig in the list of tsconfig references for it.
Steps to reproduce
apps/web/src/main.ts, and check the tsconfig at status bar, it'sapps/web/tsconfig.app.jsonapps/web/src/App.vue, and check the tsconfig at status bar, it'sapps/web/tsconfig.vitest.json, but expected same asapps/web/src/main.ts