tsconfig.json 947 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "compilerOptions": {
  3. "outDir": "build/dist",
  4. "module": "esnext",
  5. "target": "esnext",
  6. "lib": ["esnext", "dom"],
  7. "sourceMap": true,
  8. "baseUrl": ".",
  9. "jsx": "preserve",
  10. "allowSyntheticDefaultImports": true,
  11. "moduleResolution": "node",
  12. "forceConsistentCasingInFileNames": true,
  13. "noImplicitReturns": true,
  14. "suppressImplicitAnyIndexErrors": true,
  15. "noUnusedLocals": true,
  16. "allowJs": true,
  17. "skipLibCheck": true,
  18. "experimentalDecorators": true,
  19. "strict": true,
  20. "paths": {
  21. "@/*": ["./src/*"],
  22. "@@/*": ["./src/.umi/*"]
  23. }
  24. },
  25. "include": [
  26. "mock/**/*",
  27. "src/**/*",
  28. "tests/**/*",
  29. "test/**/*",
  30. "__test__/**/*",
  31. "typings/**/*",
  32. "config/**/*",
  33. ".eslintrc.js",
  34. ".stylelintrc.js",
  35. ".prettierrc.js",
  36. "jest.config.js",
  37. "mock/*"
  38. ],
  39. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  40. }