tsconfig.json 666 B

123456789101112131415161718192021222324252627
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. "include": ["types", "env.d.ts", "src/**/*", "src/**/*.vue", "src/shims-vue.d.ts"],
  4. "exclude": ["src/**/__tests__/*"],
  5. "compilerOptions": {
  6. "lib": ["es2021","DOM"],
  7. "baseUrl": ".",
  8. "paths": {
  9. "@/*": ["./src/*"]
  10. },
  11. "types": ["vitest/globals"],
  12. // Workaround for https://github.com/vuejs/tsconfig/issues/6
  13. "preserveValueImports": false,
  14. "importsNotUsedAsValues": "remove",
  15. "verbatimModuleSyntax": true,
  16. // End of the workaround
  17. },
  18. "references": [
  19. {
  20. "path": "./tsconfig.vite-config.json"
  21. },
  22. {
  23. "path": "./tsconfig.vitest.json"
  24. }
  25. ]
  26. }