tsconfig.json 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "compilerOptions": {
  3. // "target": "ESNext",
  4. // "module": "ESNext",
  5. // "moduleResolution": "bundler",
  6. // "strict": false,
  7. "jsx": "preserve",
  8. "jsxFactory": "h",
  9. "esModuleInterop": true,
  10. // "jsxFragment": "Fragment",
  11. // "importHelpers": true,
  12. // "experimentalDecorators": true,
  13. // "strictFunctionTypes": false,
  14. // "skipLibCheck": true,
  15. // "esModuleInterop": true,
  16. // "isolatedModules": true,
  17. // "allowSyntheticDefaultImports": true,
  18. // "forceConsistentCasingInFileNames": true,
  19. // "sourceMap": true,
  20. "baseUrl": ".",
  21. "allowJs": true,
  22. "resolveJsonModule": true,
  23. "lib": ["ESNext", "DOM"],
  24. "paths": {
  25. "@/*": ["src/*"],
  26. "@build/*": ["build/*"]
  27. },
  28. "types": ["node", "vite/client"]
  29. },
  30. "include": [
  31. "mock/*.ts",
  32. "src/**/*.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.d.ts",
  35. "src/**/*.vue",
  36. "typings/*.d.ts",
  37. "vite.config.js"
  38. ],
  39. "exclude": ["dist", "**/*.js", "node_modules"]
  40. }