tsconfig.json 791 B

12345678910111213141516171819202122232425262728293031323334
  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": [
  26. "src/**/*.ts",
  27. "src/**/*.js",
  28. "src/**/*.d.ts",
  29. "src/**/*.tsx",
  30. "src/**/*.jsx",
  31. "src/**/*.vue",
  32. "src/**/*.json"
  33. ]
  34. }