tsconfig.json 814 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "jsx": "preserve",
  5. "jsxImportSource": "vue",
  6. "lib": ["DOM", "ESNext"],
  7. "baseUrl": ".",
  8. "module": "ESNext",
  9. "moduleResolution": "node",
  10. "paths": {
  11. "~/*": ["src/*"],
  12. "@/*": ["src/*"]
  13. },
  14. "resolveJsonModule": true,
  15. "types": [],
  16. "allowJs": true,
  17. "strict": true,
  18. "strictNullChecks": true,
  19. "noUnusedLocals": true,
  20. "importHelpers": true,
  21. "outDir": "dist",
  22. "esModuleInterop": true,
  23. "forceConsistentCasingInFileNames": true,
  24. "skipLibCheck": true
  25. },
  26. "exclude": ["node_modules", "dist/**/*", "public/**/*"],
  27. "vueCompilerOptions": {
  28. "target": 3, // or 2.7 for Vue 2
  29. "plugins": [
  30. "@vue-macros/volar/define-props-refs",
  31. "@vue-macros/volar/define-props"
  32. ]
  33. }
  34. }