tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. "wot-design-uni/global.d.ts",
  19. "z-paging/types",
  20. "./src/types/async-component.d.ts",
  21. "./src/types/async-import.d.ts",
  22. "./src/typings.d.ts"
  23. ],
  24. "allowJs": true,
  25. "noImplicitThis": true,
  26. "outDir": "dist",
  27. "sourceMap": true,
  28. "allowSyntheticDefaultImports": true,
  29. "skipLibCheck": true
  30. },
  31. "vueCompilerOptions": {
  32. "plugins": ["@uni-helper/uni-types/volar-plugin"]
  33. },
  34. "include": [
  35. "package.json",
  36. "src/**/*.ts",
  37. "src/**/*.js",
  38. "src/**/*.d.ts",
  39. "src/**/*.tsx",
  40. "src/**/*.jsx",
  41. "src/**/*.vue",
  42. "src/**/*.json"
  43. ],
  44. "exclude": ["node_modules", "dist"]
  45. }