tsconfig.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "target": "esnext",
  16. "module": "esnext",
  17. "strict": false,
  18. "jsx": "preserve",
  19. "moduleResolution": "node",
  20. "baseUrl": ".",
  21. "paths": {
  22. "@/*": [
  23. "./src/*"
  24. ],
  25. "@common/*": [
  26. "../common/*"
  27. ]
  28. },
  29. "types": [
  30. "vite/client"
  31. ],
  32. "isolatedModules": false,
  33. "suppressImplicitAnyIndexErrors": true,
  34. "sourceMap": true,
  35. "resolveJsonModule": true,
  36. "esModuleInterop": true,
  37. "lib": [
  38. "es5",
  39. "es6",
  40. "dom",
  41. "dom.iterable"
  42. ],
  43. "allowSyntheticDefaultImports": true
  44. },
  45. "references": [
  46. {
  47. "path": "./tsconfig.node.json"
  48. }
  49. ]
  50. }