tsconfig.json 1017 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "commonjs",
  5. "moduleResolution": "node",
  6. "experimentalDecorators": true,
  7. "importHelpers": true,
  8. "jsx": "react-jsx",
  9. "esModuleInterop": true,
  10. "sourceMap": true,
  11. "baseUrl": "./",
  12. "strict": true,
  13. "paths": {
  14. "@root/*": [
  15. "./*"
  16. ],
  17. "@common/*": [
  18. "src/common/*"
  19. ],
  20. "@main/*": [
  21. "src/main/*"
  22. ],
  23. "@renderer/*": [
  24. "src/renderer/*"
  25. ],
  26. "@src/*": [
  27. "src/*"
  28. ],
  29. "@styles/*": [
  30. "src/renderer/styles/*"
  31. ],
  32. "@assets/*": [
  33. "assets/*"
  34. ]
  35. },
  36. "allowSyntheticDefaultImports": true,
  37. "declaration": true,
  38. "resolveJsonModule": true
  39. },
  40. "include": [
  41. "mock/**/*",
  42. "src/**/*",
  43. "config/**/*",
  44. ".umirc.ts",
  45. "typings.d.ts"
  46. ],
  47. "exclude": [
  48. "node_modules",
  49. "lib",
  50. "es",
  51. "dist",
  52. "typings",
  53. "**/__test__",
  54. "test",
  55. "docs",
  56. "tests"
  57. ]
  58. }