tsconfig.json 803 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. // 开启严格模式能更好的推断支持this
  6. "strict": true,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "moduleResolution": "node",
  10. "experimentalDecorators": true,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "allowSyntheticDefaultImports": true,
  14. "sourceMap": true,
  15. "baseUrl": "./",
  16. "isolatedModules": true,
  17. "paths": {
  18. "@/*": [
  19. "src/*"
  20. ]
  21. },
  22. "strictPropertyInitialization": false
  23. },
  24. "include": [
  25. "src/**/*.ts",
  26. "src/**/*.tsx",
  27. "src/**/*.vue",
  28. "babel.config.js"
  29. ],
  30. "exclude": [
  31. "node_modules"
  32. ]
  33. }