tsconfig.json 773 B

1234567891011121314151617181920212223242526272829303132
  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. // alias
  21. "paths": {
  22. "@/*": [
  23. "./src/*"
  24. ]
  25. }
  26. },
  27. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "plugins/*.ts", "plugins/**/*.ts"],
  28. "references": [{ "path": "./tsconfig.node.json" }]
  29. }