tsconfig.json 710 B

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