tsconfig.vitest.json 别名配置?-灵析社区

卑微实习僧

![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241123/3b46a8ae23407ee51b2183e3ee6d699a.png) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241123/65496810f875df5f8997cb9e0523ddf5.png) { "exclude": [ "node_modules", "dist", "**/*.md" ], "compilerOptions": { "module": "esnext", "moduleResolution": "bundler", "esModuleInterop": true, "ignoreDeprecations": "5.0", "composite": true, "lib": [], "types": [ "node", "jsdom" ], "baseUrl": ".", "paths": { "@/*": [ "src/*", ], } } } 这是我现在的配置。 要怎么配置才行呢? "vue": "^3.2.45", "vite": "^4.4.9", "typescript": "~5.2.2",

阅读量:27

点赞量:0

问AI
大厂球袋
加上 include 试试呢 "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],