{ "compilerOptions": { "target": "esnext", "module": "esnext", "moduleResolution": "node", "strict": false, "jsx": "preserve", "importHelpers": true, "experimentalDecorators": true, "strictFunctionTypes": false, "skipLibCheck": true, "esModuleInterop": true, "isolatedModules": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "sourceMap": true, "baseUrl": ".", "allowJs": false, "resolveJsonModule": true, // 包含导入的模块。json的扩展 "lib": ["dom", "esnext"], "incremental": true, "paths": { "/@/*": ["src/*"], "/#/*": ["types/*"] }, "types": ["node", "vite/client"], "typeRoots": ["./node_modules/@types/", "./types", "./vue-types"] }, "include": [ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "types/*.d.ts", "mock/*.ts", "vite.config.ts" ], "exclude": ["node_modules", "dist", "**/*.js"] }