tsconfig.json 839 B

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