tsconfig.json 897 B

123456789101112131415161718192021222324252627282930
  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": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/untils/baiduMap.js", "src/untils/debuonce.js", "**/*.ts", "**/*.tsx"],
  5. "compilerOptions": {
  6. "target": "esnext",
  7. "module": "esnext",
  8. "strict": false,
  9. "jsx": "preserve",
  10. "moduleResolution": "node",
  11. "baseUrl": ".",
  12. "paths": {
  13. "@/*": ["./src/*"],
  14. "@common/*": ["../common/*"]
  15. },
  16. "isolatedModules": false,
  17. "suppressImplicitAnyIndexErrors": true,
  18. "sourceMap": true,
  19. "resolveJsonModule": true,
  20. "esModuleInterop": true,
  21. "lib": ["es5", "es6", "dom", "dom.iterable"],
  22. "allowSyntheticDefaultImports": true
  23. },
  24. "references": [
  25. {
  26. "path": "./tsconfig.node.json"
  27. }
  28. ]
  29. }