12345678910111213141516171819202122232425262728293031 |
- {
- "compilerOptions": {
- "target": "esnext",
- "module": "esnext",
- // "useDefineForClassFields": true,
- "moduleResolution": "bundler",
- "strict": true,
- "jsx": "preserve",
- "strictNullChecks": false,
- "sourceMap": true,
- "resolveJsonModule": true,
- "esModuleInterop": true,
- "strictFunctionTypes": false,
- "lib": ["esnext", "dom"],
- "noImplicitAny": false,
- "baseUrl": ".",
- "allowJs": true,
- "experimentalDecorators": true,
- "paths": {
- "@/*": ["src/*"]
- },
- "types": ["vite/client"],
- "skipLibCheck": true,
- "removeComments": true,
- // 允许默认导入
- "allowSyntheticDefaultImports": true,
- "forceConsistentCasingInFileNames": true
- },
- "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts", "vite.config.ts"],
- "exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
- }
|