tsconfig.json 920 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. // "useDefineForClassFields": true,
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "jsx": "preserve",
  9. "strictNullChecks": false,
  10. "sourceMap": true,
  11. "resolveJsonModule": true,
  12. "esModuleInterop": true,
  13. "strictFunctionTypes": false,
  14. "lib": ["esnext", "dom"],
  15. "noImplicitAny": false,
  16. "baseUrl": ".",
  17. "allowJs": true,
  18. "experimentalDecorators": true,
  19. "emitDecoratorMetadata": true,
  20. "paths": {
  21. "@/*": ["src/*"]
  22. },
  23. "types": ["vite/client"],
  24. "skipLibCheck": true,
  25. "removeComments": true,
  26. // 允许默认导入
  27. "allowSyntheticDefaultImports": true,
  28. "forceConsistentCasingInFileNames": true
  29. },
  30. "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts", "vite.config.ts"],
  31. "exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
  32. }