tsconfig.json 836 B

1234567891011121314151617181920212223242526272829303132333435
  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. // "@/*": ["../../packages/app/src/*"]
  16. },
  17. "outDir": "dist",
  18. "lib": ["esnext", "dom"],
  19. "types": ["@dcloudio/types", "@types/wechat-miniprogram", "wot-design-uni/global.d.ts"]
  20. },
  21. "vueCompilerOptions": {
  22. "target": 3,
  23. "nativeTags": ["block", "template", "component", "slot"]
  24. },
  25. "exclude": ["node_modules"],
  26. "include": [
  27. "src/**/*.ts",
  28. "src/**/*.js",
  29. "src/**/*.d.ts",
  30. "src/**/*.tsx",
  31. "src/**/*.jsx",
  32. "src/**/*.vue",
  33. "src/**/*.json"
  34. ]
  35. }