tsconfig.json 910 B

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