tsconfig.json 755 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "compilerOptions": {
  3. "target": "ES2020",
  4. "jsx": "preserve",
  5. "lib": ["ES2020", "DOM", "DOM.Iterable"],
  6. "useDefineForClassFields": true,
  7. "baseUrl": ".",
  8. "module": "ESNext",
  9. /* Bundler mode */
  10. "moduleResolution": "bundler",
  11. "paths": {
  12. "@/*": ["./src/*"]
  13. },
  14. "resolveJsonModule": true,
  15. "allowImportingTsExtensions": true,
  16. /* Linting */
  17. "strict": true,
  18. "noFallthroughCasesInSwitch": true,
  19. "noUnusedLocals": true,
  20. "noUnusedParameters": true,
  21. "noEmit": true,
  22. "isolatedModules": true,
  23. "skipLibCheck": true
  24. },
  25. "references": [{ "path": "./tsconfig.node.json" }],
  26. "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "./auto-imports.d.ts", "./components.d.ts"]
  27. }