tsconfig.json 996 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "compilerOptions": {
  3. "target": "ES2020",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "lib": [
  7. "ES2020",
  8. "DOM",
  9. "DOM.Iterable"
  10. ],
  11. "skipLibCheck": true,
  12. /* Bundler mode */
  13. "moduleResolution": "bundler",
  14. "allowImportingTsExtensions": true,
  15. "resolveJsonModule": true,
  16. "isolatedModules": true,
  17. "noEmit": true,
  18. "jsx": "preserve",
  19. "baseUrl": ".",
  20. "paths": {
  21. "@/*": [
  22. "src/*"
  23. ]
  24. // "/@build/*": ["build/*"],
  25. // "/#/*": ["types/*"],
  26. // "_pinia/*": ["src/pinia/*"]
  27. },
  28. /* Linting */
  29. "strict": true,
  30. "noUnusedLocals": true,
  31. "noUnusedParameters": true,
  32. "noFallthroughCasesInSwitch": true,
  33. "typeRoots": [
  34. "./node_modules/@types",
  35. "./src/types"
  36. ]
  37. },
  38. "include": [
  39. "src/**/*.ts",
  40. "src/**/*.d.ts",
  41. "src/**/*.tsx",
  42. "src/**/*.vue"
  43. ],
  44. "references": [
  45. {
  46. "path": "./tsconfig.node.json"
  47. }
  48. ]
  49. }