tsconfig.json 921 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. "@/*": ["./src/*"],
  24. "@common/*": ["../common/*"]
  25. },
  26. "isolatedModules": false,
  27. "sourceMap": true,
  28. "resolveJsonModule": true,
  29. "esModuleInterop": true,
  30. "lib": ["es5", "es6", "dom", "dom.iterable"],
  31. "allowSyntheticDefaultImports": true
  32. },
  33. "references": [
  34. {
  35. "path": "./tsconfig.node.json"
  36. }
  37. ]
  38. }