tsconfig.json 875 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. "include": [
  4. "src/**/*.ts",
  5. "src/.d.ts/*.d.ts",
  6. "src/.d.ts/**/*.d.ts",
  7. "src/**/*.d.ts",
  8. "src/**/*.tsx",
  9. "src/**/*.vue",
  10. "vite/**/*.ts",
  11. ".eslintrc.cjs",
  12. "vite.config.ts",
  13. "src/.d.ts/vite-env.d.ts"
  14. ],
  15. "compilerOptions": {
  16. "target": "ESNext",
  17. "lib": ["ES2017"],
  18. "noImplicitAny": false,
  19. "types": ["element-plus/global"],
  20. "ignoreDeprecations": "5.0",
  21. "baseUrl": "./",
  22. "paths": {
  23. "@a": ["src/api"],
  24. "@a/*": ["src/api/*"],
  25. "@s": ["src/stores"],
  26. "@s/*": ["src/stores/*"],
  27. "@r": ["src/router"],
  28. "@r/*": ["src/router/*"],
  29. "@v/*": ["src/views/*"],
  30. "@@/*": ["src/core/*"],
  31. "@@@/*": ["src/components/*"],
  32. "@com/*": ["src/components/*"],
  33. "@/*": ["src/*"],
  34. "~/*": ["./*"]
  35. }
  36. },
  37. "exclude": ["node_modules"],
  38. "references": [{ "path": "./tsconfig.config.json" }]
  39. }