tsconfig.json 689 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "node",
  6. "resolveJsonModule": true,
  7. "importHelpers": true,
  8. "jsx": "react-jsx",
  9. "esModuleInterop": true,
  10. "sourceMap": true,
  11. "baseUrl": "./",
  12. "strict": true,
  13. "paths": {
  14. "@/*": ["src/*"],
  15. "@@/*": ["src/.umi/*"]
  16. },
  17. "allowSyntheticDefaultImports": true,
  18. "experimentalDecorators": true
  19. },
  20. "include": [
  21. "mock/**/*",
  22. "src/**/*",
  23. "config/**/*",
  24. ".umirc.ts",
  25. "typings.d.ts"
  26. ],
  27. "exclude": [
  28. "node_modules",
  29. "lib",
  30. "es",
  31. "dist",
  32. "typings",
  33. "**/__test__",
  34. "test",
  35. "docs",
  36. "tests"
  37. ]
  38. }