tsconfig.json 857 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "compilerOptions": {
  3. "composite": true,
  4. "skipLibCheck": true,
  5. "jsx": "react",
  6. "jsxFactory": "h",
  7. "jsxFragmentFactory": "Fragment",
  8. "module": "ESNext",
  9. "moduleResolution": "Node",
  10. "resolveJsonModule": true,
  11. "noImplicitThis": true,
  12. "allowSyntheticDefaultImports": true,
  13. "allowJs": true,
  14. "sourceMap": true,
  15. "baseUrl": ".",
  16. "types": ["@dcloudio/types", "vite/client"],
  17. "paths": {
  18. "@/*": ["./src/*"],
  19. "#/*": ["./types/*"],
  20. }
  21. },
  22. "include": [
  23. "src/**/*.json",
  24. "src/**/*.ts",
  25. "src/**/*.d.ts",
  26. "src/**/*.tsx",
  27. "src/**/*.vue",
  28. "types/**/*.d.ts",
  29. "types/**/*.ts",
  30. "vite.config.ts",
  31. "types/components.d.ts",
  32. "package.json",
  33. "manifest.json",
  34. "build/**/*.ts"
  35. ],
  36. "exclude": ["node_modules", "tests/server/**/*.ts", "dist", "**/*.js"]
  37. }