猎户系统

tsconfig.json 923B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "declaration": true,
  4. "target": "esnext",
  5. "module": "esnext",
  6. "strict": false,//启用所有严格类型检查选项。
  7. "jsx": "preserve",
  8. "moduleResolution": "node",
  9. "experimentalDecorators": true,
  10. "skipLibCheck": true,//忽略所有的声明文件( *.d.ts)的类型检查。
  11. "esModuleInterop": true,
  12. "allowSyntheticDefaultImports": true,
  13. "forceConsistentCasingInFileNames": true,
  14. "useDefineForClassFields": true,
  15. "sourceMap": true,//生成相应的 .map文件。
  16. "baseUrl": ".",
  17. "types": [
  18. "webpack-env"
  19. ],
  20. "paths": {
  21. "@/*": [
  22. "src/*"
  23. ]
  24. },
  25. "lib": [
  26. "esnext",
  27. "dom",
  28. "dom.iterable",
  29. "scripthost"
  30. ]
  31. },
  32. "include": [
  33. "src/**/*.ts",
  34. "src/**/*.tsx",
  35. "src/**/*.vue",
  36. "tests/**/*.ts",
  37. "tests/**/*.tsx"
  38. ],
  39. "exclude": [
  40. "node_modules"
  41. ]
  42. }