tsconfig.json 733 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "compilerOptions": {
  3. "composite": true,
  4. "skipLibCheck": true,
  5. "module": "ESNext",
  6. "moduleResolution": "bundler",
  7. "allowSyntheticDefaultImports": true,
  8. "sourceMap": true,
  9. "baseUrl": ".",
  10. "paths": {
  11. "@/*": ["./src/*"]
  12. },
  13. "outDir": "dist",
  14. "lib": ["esnext", "dom"],
  15. "types": [
  16. "@dcloudio/types",
  17. "@types/wechat-miniprogram",
  18. "@uni-helper/uni-app-types",
  19. "wot-design-uni/global.d.ts",
  20. "./global.d.ts"
  21. ]
  22. },
  23. "vueCompilerOptions": {
  24. "target": 3,
  25. "nativeTags": ["block", "template", "component", "slot"]
  26. },
  27. "exclude": ["node_modules"],
  28. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.json"]
  29. }