tsconfig.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. // "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "../common/src/stores/user", "../common/src/stores/user"],
  4. "include": [
  5. "src/**/*.ts",
  6. "src/**/*.d.ts",
  7. "src/**/*.tsx",
  8. "src/**/*.vue",
  9. "src/untils/baiduMap.js",
  10. "src/untils/debuonce.js",
  11. "**/*.ts",
  12. "**/*.tsx"
  13. ],
  14. "compilerOptions": {
  15. "ignoreDeprecations": "5.0",
  16. "target": "esnext",
  17. "module": "esnext",
  18. "strict": false,
  19. "jsx": "preserve",
  20. "moduleResolution": "node",
  21. "baseUrl": ".",
  22. "paths": {
  23. "@/*": [
  24. "./src/*"
  25. ],
  26. "@common/*": [
  27. "../common/*"
  28. ]
  29. },
  30. "types": [
  31. "vite/client"
  32. ],
  33. "isolatedModules": false,
  34. "suppressImplicitAnyIndexErrors": true,
  35. "sourceMap": true,
  36. "resolveJsonModule": true,
  37. "esModuleInterop": true,
  38. "lib": [
  39. "es5",
  40. "es6",
  41. "dom",
  42. "dom.iterable"
  43. ],
  44. "allowSyntheticDefaultImports": true
  45. },
  46. "references": [
  47. {
  48. "path": "./tsconfig.node.json"
  49. }
  50. ]
  51. }