tsconfig.dashboard.template.json 801 B

123456789101112131415161718192021
  1. {
  2. "compilerOptions": {
  3. "composite": true,
  4. "module": "ESNext",
  5. "moduleResolution": "bundler",
  6. "jsx": "react-jsx",
  7. "paths": {
  8. // Import alias for the GraphQL types
  9. // This corresponds to the location that you have set in your `vite.config.mts`
  10. // resolve.alias property
  11. "@/gql": ["./src/gql/graphql.ts"],
  12. // This line allows TypeScript to properly resolve internal
  13. // Vendure Dashboard imports, which is necessary for
  14. // type safety in your dashboard extensions.
  15. // This path assumes a root-level tsconfig.json file.
  16. // You may need to adjust it if your project structure is different.
  17. "@/vdb/*": ["./node_modules/@vendure/dashboard/src/lib/*"]
  18. }
  19. },
  20. "include": ["src/plugins/**/dashboard/*", "src/gql/**/*.ts"]
  21. }