tsconfig.json 840 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "compilerOptions": {
  3. "target": "ES2020",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "lib": ["ES2021", "DOM", "DOM.Iterable"],
  7. "skipLibCheck": true,
  8. /* Bundler mode */
  9. "moduleResolution": "Node",
  10. "allowImportingTsExtensions": true,
  11. "allowSyntheticDefaultImports": true,
  12. "resolveJsonModule": true,
  13. "isolatedModules": true,
  14. "noEmit": true,
  15. "jsxImportSource": "vue",
  16. "jsx": "preserve",
  17. /* Linting */
  18. "strict": true,
  19. "noUnusedLocals": true,
  20. "noUnusedParameters": true,
  21. "noFallthroughCasesInSwitch": true,
  22. "baseUrl": "./",
  23. "paths": {
  24. "@/*": ["src/*"],
  25. "~/*": ["./*"]
  26. }
  27. },
  28. "include": ["vite.config.*", "uno.config.*", "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  29. "exclude": ["/dist/**", "node_modules"]
  30. }