Thinkmill / ts-gql

Write GraphQL queries with a gql tag in TypeScript -> have generated types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite dev support

tgandrews opened this issue · comments

I saw the @ts-gql/next package and thought it was a great idea but I'm using vite and not next.

So to this end I have create a package for it based on the next package. vite-plugin-ts-gql. This is my first vite plugin so there may be ways it could be improved but it seems to be sufficient for me at the moment.

I would be happy to submit a PR so it becomes @ts-gql/vite if you are open to it.