{ "compilerOptions": { "composite": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ES2020", "useDefineForClassFields": true, "module": "ESNext", "lib": ["ES2020", "DOM", "DOM.Iterable"], "skipLibCheck": true, /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "resolveJsonModule": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, "jsx": "preserve", /* Linting */ // "strict": true, // "noUnusedLocals": true,r // "noUnusedParameters": true, // "noFallthroughCasesInSwitch": true, "baseUrl": "./", // 设置基础路径 "paths": { "@/*": ["src/*"] // 设置路径别名 }, "allowSyntheticDefaultImports": true }, "include": ["src/**/*"], // 指定哪些文件会被编译 "exclude": ["node_modules"] // 指定哪些文件不会被编译 }