{ "extends": "./tsconfig.app.json", // Override to include only test files and clear exclusions. // .vue files must be explicitly included so vue-tsc enables .vue module // resolution for this project (relying on transitive module resolution // from test imports is unreliable in `vue-tsc --build`). "include": ["src/**/__tests__/*", "env.d.ts", "global.d.ts", "src/**/*.vue"], "exclude": [], "compilerOptions": { // Vitest runs in a different environment than the application code. // Adjust lib and types accordingly. "lib": ["dom", "es2015", "esnext"], "types": ["node", "jsdom"], // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking. // Specified here to keep it out of the root directory. "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo" } }