tsconfig.json 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "moduleResolution": "Node",
  7. "strict": true,
  8. "jsx": "preserve",
  9. "sourceMap": true,
  10. "resolveJsonModule": true,
  11. "isolatedModules": true,
  12. "esModuleInterop": true,
  13. "skipDefaultLibCheck": true,
  14. "lib": ["ESNext", "DOM"],
  15. "skipLibCheck": true,
  16. "types": [
  17. "unplugin-vue-define-options/macros-global",
  18. "./types",
  19. "vite/client"
  20. ],
  21. "typeRoots": ["./node_modules/@types/", "./types"],
  22. "baseUrl": "./",
  23. "paths": {
  24. "@/*": ["src/*"],
  25. "#/*": ["types/*"]
  26. }
  27. },
  28. "include": [
  29. "src/**/*.ts",
  30. "src/**/*.d.ts",
  31. "src/**/*.tsx",
  32. "src/**/*.vue",
  33. "types/**/*.ts"
  34. , "src/views/room/edit-room/avatar.vue.bk" ],
  35. "references": [{ "path": "./tsconfig.node.json" }],
  36. "vueCompilerOptions": {
  37. "target": 3, // or 2.7 for Vue 2
  38. "plugins": [
  39. "@vue-macros/volar/define-options"
  40. // ...more feature
  41. ]
  42. }
  43. }