tsconfig.json 842 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "strict": true,
  6. "jsx": "preserve",
  7. "importHelpers": true,
  8. "allowJs": true,
  9. "moduleResolution": "node",
  10. "skipLibCheck": true,
  11. "esModuleInterop": true,
  12. "allowSyntheticDefaultImports": true,
  13. "sourceMap": true,
  14. "baseUrl": ".",
  15. "types": [
  16. "@vueuse/core"
  17. ],
  18. "paths": {
  19. "@/*": ["src/*"],
  20. "@pc/*": ["src/pc/*"],
  21. "@h5/*": ["src/h5/*"],
  22. },
  23. "lib": [
  24. "esnext",
  25. "dom",
  26. "dom.iterable",
  27. "scripthost"
  28. ]
  29. },
  30. "include": [
  31. "src/**/*.ts",
  32. "src/**/*.js",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "src/**/*.d.ts",
  36. "tests/**/*.ts",
  37. "tests/**/*.tsx"
  38. , "src/main.js" ],
  39. "exclude": [
  40. "node_modules"
  41. ],
  42. "vueCompilerOptions": {
  43. "target": 2.7
  44. }
  45. }