tsconfig.json 1.0 KB

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