tsconfig.json 889 B

123456789101112131415161718192021222324252627
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "noLib": false,
  9. "jsx": "preserve",
  10. "sourceMap": true,
  11. "resolveJsonModule": true,
  12. "esModuleInterop": true,
  13. "lib": ["esnext", "dom"],
  14. "baseUrl": ".",
  15. "allowJs": true,
  16. "paths": {
  17. "@/*": ["src/*"]
  18. },
  19. "types": ["vite/client", "unplugin-icons/types/vue"],
  20. "skipLibCheck": true /* Skip type checking all .d.ts files. */,
  21. "allowSyntheticDefaultImports": true /* 允许默认导入 */,
  22. "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */
  23. },
  24. "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts", "vite.config.ts"],
  25. "exclude": ["node_modules", "dist", "**/*.js"]
  26. // "references": [{ "path": "./tsconfig.node.json" }]
  27. }