tsconfig.json 758 B

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