tsconfig.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. "compilerOptions": {
  4. "target": "esnext",
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "noLib": false,
  9. "forceConsistentCasingInFileNames": true,
  10. "allowSyntheticDefaultImports": true,
  11. "strictFunctionTypes": false,
  12. "jsx": "preserve",
  13. "baseUrl": ".",
  14. "allowJs": true,
  15. "sourceMap": true,
  16. "esModuleInterop": true,
  17. "resolveJsonModule": true,
  18. "isolatedModules": false,
  19. "noUnusedLocals": true,
  20. "noUnusedParameters": true,
  21. "experimentalDecorators": true,
  22. "lib": ["dom", "esnext"],
  23. "noImplicitAny": false,
  24. "skipLibCheck": true,
  25. "removeComments": true,
  26. "types": ["webpack-env", "unplugin-vue-define-options"],
  27. "paths": {
  28. "@/*": ["src/*"]
  29. }
  30. },
  31. "include": [
  32. "mock/**/*",
  33. "src/**/*.ts",
  34. "**/*.d.ts",
  35. "src/**/*.tsx",
  36. "src/**/*.vue",
  37. "types/**/*.d.ts",
  38. "types/**/*.ts"
  39. ],
  40. "exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
  41. }