tsconfig.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "compilerOptions": {
  3. "composite": true,
  4. "lib": [
  5. "esnext",
  6. "dom"
  7. ],
  8. "baseUrl": ".",
  9. "module": "esnext",
  10. "moduleResolution": "bundler",
  11. "paths": {
  12. "@/*": [
  13. "./src/*"
  14. ],
  15. "@img/*": [
  16. "./src/static/*"
  17. ]
  18. },
  19. "resolveJsonModule": true,
  20. "types": [
  21. "@dcloudio/types",
  22. "@uni-helper/uni-types",
  23. "@uni-helper/vite-plugin-uni-pages",
  24. "uview-plus/types",
  25. "@ttou/uv-typings/v2",
  26. "miniprogram-api-typings",
  27. "z-paging/types",
  28. "./src/types/async-component.d.ts",
  29. "./src/types/async-import.d.ts",
  30. "./src/typings.d.ts"
  31. ],
  32. "allowJs": true,
  33. "noImplicitThis": true,
  34. "outDir": "dist",
  35. "sourceMap": true,
  36. "allowSyntheticDefaultImports": true,
  37. "skipLibCheck": true
  38. },
  39. "vueCompilerOptions": {
  40. "plugins": [
  41. "@uni-helper/uni-types/volar-plugin"
  42. ]
  43. },
  44. "include": [
  45. "package.json",
  46. "src/**/*.ts",
  47. "src/**/*.js",
  48. "src/**/*.d.ts",
  49. "src/**/*.tsx",
  50. "src/**/*.jsx",
  51. "src/**/*.vue",
  52. "src/**/*.json"
  53. ],
  54. "exclude": [
  55. "node_modules",
  56. "dist"
  57. ]
  58. }