tsconfig.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "incremental": true,
  4. "target": "es5",
  5. "module": "esnext",
  6. "strict": true,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "moduleResolution": "node",
  10. "resolveJsonModule": true,
  11. "downlevelIteration": true,
  12. "skipLibCheck": true,
  13. "esModuleInterop": true,
  14. "allowJs": true,
  15. "allowSyntheticDefaultImports": true,
  16. "forceConsistentCasingInFileNames": true,
  17. "useDefineForClassFields": true,
  18. "sourceMap": true,
  19. "baseUrl": ".",
  20. "outDir": "./dist",
  21. "types": ["element-plus/global", "webpack-env", "node"],
  22. "paths": {
  23. "~/*": ["*"],
  24. "@/*": ["./src/*"],
  25. "/#/*": ["./types/*"],
  26. "@vab/*": ["./library/*"],
  27. "@gp": ["./library/plugins/vab"]
  28. },
  29. "lib": ["esnext", "dom", "dom.iterable", "scripthost"]
  30. },
  31. "include": [
  32. "src/**/*.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "mock/**/*.ts",
  36. "types/**/*.d.ts",
  37. "library/**/*.ts",
  38. "library/**/*.tsx",
  39. "library/**/*.vue",
  40. "test/**/*.ts"
  41. ],
  42. "exclude": ["node_modules", "library/build/chainWebpack"]
  43. }