tsconfig.json 723 B

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