tsconfig.json 727 B

123456789101112131415161718192021222324
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "strict": true,
  6. "jsx": "preserve",
  7. "moduleResolution": "node",
  8. "skipLibCheck": true,
  9. "esModuleInterop": true,
  10. "allowSyntheticDefaultImports": true,
  11. "forceConsistentCasingInFileNames": true,
  12. "useDefineForClassFields": true,
  13. "sourceMap": true,
  14. "baseUrl": ".",
  15. "types": ["webpack-env", "element-plus/global", "naive-ui/volar"],
  16. "paths": {
  17. "@/*": ["src/*"]
  18. },
  19. "lib": ["esnext", "dom", "dom.iterable", "scripthost"]
  20. },
  21. "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"],
  22. "exclude": ["node_modules", "dist"]
  23. }