tsconfig.json 728 B

123456789101112131415161718192021222324252627
  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": ["@dcloudio/types", "@types/wechat-miniprogram", "wot-design-uni/global.d.ts"]
  19. },
  20. "vueCompilerOptions": {
  21. "target": 3,
  22. "nativeTags": ["block", "template", "component", "slot"]
  23. },
  24. "exclude": ["node_modules"],
  25. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.json"]
  26. }